forked from Aaron/Kino-Website
changed if condition on the workflow
All checks were successful
All checks were successful
This commit is contained in:
@@ -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
|
||||
tags: gitea.starfour.de/${{ gitea.repository }}:latest
|
||||
Reference in New Issue
Block a user