Skip to content

Commit 706fba7

Browse files
committed
Restored old documentation workflow
1 parent e58eb6d commit 706fba7

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
# The type of runner that the job will run on
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/setup-python@v5
16+
- uses: actions/setup-python@v4
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.10"
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121
with:
@@ -25,19 +25,12 @@ jobs:
2525
sudo apt-get update;
2626
sudo apt-get install pandoc;
2727
pip install -e .
28-
- name: Build
29-
uses: sphinx-notes/pages@v3
28+
- name: Build and Commit
29+
uses: sphinx-notes/pages@v2
3030
with:
31-
python_version: 3.12
3231
requirements_path: doc/requirements.txt
3332
documentation_path: doc/source
34-
publish: false
35-
- name: Commit
36-
uses: peaceiris/actions-gh-pages@v4
37-
with:
38-
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
publish_dir: ${{ steps.deployment.outputs.artifact }}
40-
destination_dir: ${{ env.RELEASE_VERSION }}
33+
target_path: latest
4134
- name: Push changes
4235
uses: ad-m/github-push-action@master
4336
with:

0 commit comments

Comments
 (0)