Skip to content

Commit

Permalink
Changing GH pages push to only master and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
shihab-dls authored May 16, 2024
1 parent c846710 commit 20c044d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: python .github/pages/make_switcher.py --add $DOCS_VERSION ${{ github.repository }} .github/pages/switcher.json

- name: Publish Docs to gh-pages
if: github.ref_type == 'tag' || github.ref_name == 'docs_and_docker'
if: github.ref_type == 'tag' || github.ref_name == 'master'
# We pin to the SHA, not the tag, for security reasons.
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
Expand Down

0 comments on commit 20c044d

Please sign in to comment.