mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 01:23:39 -05:00
Skip deploying docs for branches other than main
This commit is contained in:
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: docs/out/
|
path: docs/out/
|
||||||
deploy:
|
deploy:
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
needs: build
|
needs: build
|
||||||
permissions:
|
permissions:
|
||||||
pages: write
|
pages: write
|
||||||
|
|||||||
Reference in New Issue
Block a user