Skip to content

Commit 3451996

Browse files
Correct Docs CI
This repo still uses "master" as the name of the branch. Leaving "main" in there for possible future-proofing.
1 parent 8aa0c3e commit 3451996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: mv build/html ".github/pages/${GITHUB_REF##*/}"
4242

4343
- name: Publish Docs to gh-pages
44-
if: github.ref_type == 'tag' || github.ref_name == 'main'
44+
if: github.ref_type == 'tag' || github.ref_name == 'main' || github.ref_name == 'master'
4545
# We pin to the SHA, not the tag, for security reasons.
4646
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
4747
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0

0 commit comments

Comments
 (0)