Skip to content

Commit a6e73f0

Browse files
committed
fix docs workflow
1 parent 387a4db commit a6e73f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
run: pipenv run docs
3131

3232
- name: Move to versioned directory
33-
# e.g. master or 0.1.2
33+
# e.g. main or 0.1.2
3434
run: mv build/html ".github/pages/${GITHUB_REF##*/}"
3535

3636
- name: Publish Docs to gh-pages
37-
# Only master and tags are published
38-
if: "${{ github.repository_owner == 'dls-controls' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) }}"
37+
# Only main and tags are published
38+
if: "${{ github.repository_owner == 'epics-containers' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')) }}"
3939
# We pin to the SHA, not the tag, for security reasons.
4040
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
4141
uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3

0 commit comments

Comments
 (0)