Skip to content

Commit 749809e

Browse files
authored
Merge pull request #173 from dstansby/publish-docs
Only publish docs on main
2 parents be9466c + 7d620f0 commit 749809e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.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)