Skip to content

Commit

Permalink
test page deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Jan 22, 2024
1 parent e0f119f commit 8aa47bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sphinx_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches:
- main
- 'feature/*'
- 'feature/**'

jobs:
pages:
Expand Down Expand Up @@ -38,6 +38,7 @@ jobs:
name: SphinxDoc
path: ${{ steps.deployment.outputs.artifact }}
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && (github.ref_name == 'main' || startsWith(github.ref_name, 'feature')) }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.deployment.outputs.artifact }}

0 comments on commit 8aa47bb

Please sign in to comment.