Skip to content

Commit

Permalink
Upgrade sphinx pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Dec 2, 2024
1 parent 80747f3 commit 218f7f0
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ on:
- 'docs/**'
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@master
- id: deployment
uses: sphinx-notes/pages@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Build and Commit
uses: sphinx-notes/pages@v2
with:
requirements_path: "docs/requirements.txt"
- name: Push changes
uses: ad-m/github-push-action@master
publish: false
- 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 218f7f0

Please sign in to comment.