Skip to content

Commit

Permalink
Restored old documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed May 27, 2024
1 parent e58eb6d commit 706fba7
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.10"
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -25,19 +25,12 @@ jobs:
sudo apt-get update;
sudo apt-get install pandoc;
pip install -e .
- name: Build
uses: sphinx-notes/pages@v3
- name: Build and Commit
uses: sphinx-notes/pages@v2
with:
python_version: 3.12
requirements_path: doc/requirements.txt
documentation_path: doc/source
publish: false
- name: Commit
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.deployment.outputs.artifact }}
destination_dir: ${{ env.RELEASE_VERSION }}
target_path: latest
- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit 706fba7

Please sign in to comment.