Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
Publish GHPages action had a condition that would always evaluate as false. This commit fixes that.

Signed-off-by: David Hart <[email protected]>
  • Loading branch information
dbhart authored Sep 16, 2024
1 parent 5031b1f commit 28614d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

build-tagged:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: Build the documentation with Sphinx
name: Build tagged release documentation with Sphinx
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
deploy:
name: Deploy documentation to GitHub Pages
needs: [build-main, build-tagged]
if: ${{ always() }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 28614d0

Please sign in to comment.