Skip to content

Commit

Permalink
Upgrade to sphinx-notes/pages v3
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jan 16, 2024
1 parent 5c8e0c7 commit d4ab258
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,15 @@ on:
- main
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v3
with:
python-version: "3.9"
architecture: x64
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Build and Commit
uses: sphinx-notes/pages@v2
id: deployment
uses: sphinx-notes/pages@v3
with:
requirements_path: ./docs/requirements.txt
publish: false
- name: Push changes
uses: ad-m/github-push-action@master
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
publish_dir: ${{ steps.deployment.outputs.artifact }}

0 comments on commit d4ab258

Please sign in to comment.