Update .gitea/workflows/ci.yml
Some checks failed
Test and Deploy / build (17, ubuntu-latest) (push) Successful in 5m11s
Test and Deploy / deploy (17, ubuntu-latest) (push) Has been skipped
/ build (17, ubuntu-latest) (pull_request) Successful in 5m17s
/ deploy (17, ubuntu-latest) (pull_request) Has been cancelled

This commit is contained in:
Quentin Legot 2024-01-06 22:13:05 +01:00
parent c3ee389d55
commit 6276ba58d7

View File

@ -46,7 +46,7 @@ jobs:
java: [ '17' ] java: [ '17' ]
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: gitea.ref == 'refs/heads/master' if: gitea.ref == 'refs/heads/master' && gitea.event_name == 'push'
needs: build needs: build
steps: steps:
- name: checkout repository - name: checkout repository