fix(ci): Deploy condition
This commit is contained in:
parent
465268c194
commit
38114adbcf
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-documentation
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'main' }} # only run triggered by a push on main
|
||||
if: ${{ github.ref == 'main' }} # only run on main branch
|
||||
permissions:
|
||||
pages: write
|
||||
id-token: write
|
||||
|
|
Loading…
Reference in a new issue