Skip to content

Commit

Permalink
ci(actions): Also deploy to GH Pages if branch starts with `deploy-pa…
Browse files Browse the repository at this point in the history
…ges`
  • Loading branch information
Holzhaus committed Oct 4, 2024
1 parent 0bb46ae commit 7b82885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

deploy-docs:
name: Deploy Docs to GitHub Pages
if: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' }}
if: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/deploy-pages') }}
runs-on: ubuntu-latest
needs: [build]
permissions:
Expand Down

0 comments on commit 7b82885

Please sign in to comment.