From 706fba78b6474e278944af05f5848df516e23708 Mon Sep 17 00:00:00 2001 From: Floris-Jan Willemsen Date: Mon, 27 May 2024 17:09:51 +0200 Subject: [PATCH] Restored old documentation workflow --- .github/workflows/docs.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 66d80108..3d53495f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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: @@ -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: