From 23e311530fad585f2b052b46c4f796d6048c1d71 Mon Sep 17 00:00:00 2001 From: finlayclark Date: Thu, 2 May 2024 09:42:04 +0100 Subject: [PATCH] Revert "Update doc building workflow" This reverts commit c8f55db59cbfc00f4caebae1ebd27899c30bfc2c. --- .github/workflows/documentation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 77ee9fe..b57f471 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,4 +22,10 @@ jobs: - name: Create .nojekyll file run: touch .nojekyll - name: Deploy to GitHub Pages - run: mkdocs gh-deploy --force \ No newline at end of file + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + with: + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: _build/ + force_orphan: true \ No newline at end of file