diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..f107187 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Build and Deploy +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: nixos + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build and Push Docker Image + env: + REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_GITEA_USERNAME }} + REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_GITEA_PASSWORD }} + run: nix run .#deploy