diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4adf75b..6226e22 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -31,7 +31,7 @@ jobs: # --- STAGE 2: BUILD & PUBLISH (Only on Main) --- build-and-deploy: needs: test - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: gitea.ref == 'refs/heads/main' && gitea.event_name == 'push' runs-on: ubuntu-latest steps: - name: Checkout Code @@ -49,4 +49,4 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: gitea.starfour.de/${{ github.repository }}:latest \ No newline at end of file + tags: gitea.starfour.de/${{ gitea.repository }}:latest \ No newline at end of file