fixup! fix(ci): Deploy condition
This commit is contained in:
parent
38114adbcf
commit
4883a937f4
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:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-documentation
|
needs: build-documentation
|
||||||
if: ${{ github.ref == 'main' }} # only run on main branch
|
if: ${{ github.event_name == 'push' }} # only run on main branch
|
||||||
permissions:
|
permissions:
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
Loading…
Reference in a new issue