Skip to content

Commit 7d620f0

Browse files
committed
Only publish docs on main
1 parent be9466c commit 7d620f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .github/workflows/docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
name: Upload docs to GitHub pages
4141
runs-on: ubuntu-latest
4242
needs: build-docs
43+
if: github.event_name == 'push' && github.ref_name == 'main'
4344
steps:
4445
- uses: actions/checkout@v3
4546
- uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)