File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ jobs:
4141 run : mv build/html ".github/pages/${GITHUB_REF##*/}"
4242
4343 - name : Publish Docs to gh-pages
44- # Only master and tags are published
45- if : " ${{ github.repository_owner == 'dls-controls' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) }}"
44+ if : github.ref_type == 'tag' || github.ref_name == 'main'
4645 # We pin to the SHA, not the tag, for security reasons.
4746 # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
48- uses : peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3
47+ uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
4948 with :
5049 github_token : ${{ secrets.GITHUB_TOKEN }}
5150 publish_dir : .github/pages
You can’t perform that action at this time.
0 commit comments