m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 09:33:38 -05:00

Skip deploying docs for branches other than main

This commit is contained in:
Sergio
2025-02-02 14:52:36 +02:00
parent 8b520182ed
commit ce3f8176f1

View File

@@ -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