Skip to content

Commit ba571f1

Browse files
committed
fix: deploy docs only from main
1 parent d8b2b19 commit ba571f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ jobs:
8787
path: build/site/html
8888

8989
deploy:
90+
if: github.ref == 'refs/heads/main'
9091
permissions:
91-
contents: write
92+
contents: write
9293
pages: write
9394
id-token: write
9495
environment:

0 commit comments

Comments
 (0)