From c8a63e76fd4a00c716100ab6020692fa01cb2e1e Mon Sep 17 00:00:00 2001 From: Michael Milton Date: Tue, 19 Nov 2024 16:03:56 +1100 Subject: [PATCH] Use official github actions for publishing docs instead of mkdocs gh-deploy --- .github/workflows/test_and_deploy.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 83fbf70b..1192c263 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -103,10 +103,16 @@ jobs: python -m build core python -m build plugin - - name: Publish docs - run: | - mkdocs build - mkdocs gh-deploy + - name: Build docs + run: mkdocs build + + - name: Upload docs artifact + uses: actions/upload-pages-artifact@v3 + with: + path: site + + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4 - uses: ncipollo/release-action@v1.14.0 name: Create GitHub release