Skip to content

Commit 4b05e01

Browse files
Merge pull request #163 from Priivacy-ai/codex/2x-fix-docs-pages-protection
ci: skip docs deploy job on non-main branches
2 parents 93e322d + 2fb4c3e commit 4b05e01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docs-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
deploy:
5252
runs-on: ubuntu-latest
5353
needs: build
54+
if: github.ref == 'refs/heads/main'
5455
environment:
5556
name: github-pages
5657
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)