From 74ff14eb3087ed560b4a64e23d00e881c630ccec Mon Sep 17 00:00:00 2001 From: ohdearaugustin Date: Fri, 22 Mar 2024 19:50:35 +0100 Subject: [PATCH] update docs workflow (#1832) --- .github/workflows/docs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0269965..c5cddef 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,7 +31,7 @@ jobs: - name: Build docs run: mkdocs build --strict - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./site @@ -39,9 +39,14 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + permissions: + pages: write + id-token: write runs-on: ubuntu-latest needs: build steps: + - name: Configure Pages + uses: actions/configure-pages@v4 - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4