fixup! fix(ci): Deploy condition

This commit is contained in:
Jalil David Salamé Messina 2024-02-18 17:04:46 +01:00
parent 38114adbcf
commit 4883a937f4
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -45,7 +45,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build-documentation
if: ${{ github.ref == 'main' }} # only run on main branch
if: ${{ github.event_name == 'push' }} # only run on main branch
permissions:
pages: write
id-token: write