From 08352289ffabb69f5c57d5bed2e13ebffef34ec6 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Wed, 20 Dec 2023 15:52:50 +0100 Subject: [PATCH 1/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 2f95ab0..632d302 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -8,7 +8,7 @@ permissions: on: push: branches: - - main + - pagestest jobs: build: @@ -29,26 +29,9 @@ jobs: - name: build docs run: | PYTHONPATH=. PATH=${PATH}:./pandoc-2.17.1/bin/ sphinx-build -b html sphinx docs - - uses: actions/upload-artifact@v4 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 with: - name: page - path: docs - - deploy: - runs-on: ubuntu-latest - needs: build - environment: - name: github-pages - url: ${{steps.deployment.outputs.page_url}} - - steps: - - uses: actions/download-artifact@master - with: - name: page - path: . - - uses: actions/configure-pages@v1 - - uses: actions/upload-pages-artifact@v1 - with: - path: . - - id: deployment - uses: actions/deploy-pages@main + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs From 86c4e679465c98658e24d454bee925bb3005af66 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:07:23 +0100 Subject: [PATCH 2/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 632d302..b99eb4d 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -33,5 +33,4 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs + publish_dir: ./docs From 3ca04cd31d25c75e30fa692041601d7bbeacc6d9 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:19:19 +0100 Subject: [PATCH 3/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index b99eb4d..3af2589 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -33,4 +33,5 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: + github_token: ${{ github.token }} publish_dir: ./docs From 7cb020db6dd1cbaeccdffe37a9d583f501e34274 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:30:54 +0100 Subject: [PATCH 4/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 3af2589..5cb197f 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -30,8 +30,8 @@ jobs: run: | PYTHONPATH=. PATH=${PATH}:./pandoc-2.17.1/bin/ sphinx-build -b html sphinx docs - - name: Deploy to GitHub Pages + - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ github.token }} - publish_dir: ./docs + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs From d5cac4a8e0ba2b56135ef458668ab4394f6a6c71 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:42:47 +0100 Subject: [PATCH 5/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 5cb197f..8d1cf6c 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -1,7 +1,7 @@ name: Deploy Pages permissions: - contents: read + contents: write pages: write id-token: write From 9df6e3175a7b4c99deadbe3d0021a5565183b2e3 Mon Sep 17 00:00:00 2001 From: Stephen Privitera <13150473+sprivite@users.noreply.github.com> Date: Fri, 5 Jan 2024 13:05:43 +0100 Subject: [PATCH 6/6] Update sphinx.yml --- .github/workflows/sphinx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 8d1cf6c..8f91f15 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -8,7 +8,7 @@ permissions: on: push: branches: - - pagestest + - main jobs: build: