From 3593bd24ae0f1c8125061a639a72b662175188f1 Mon Sep 17 00:00:00 2001 From: finlayclark Date: Wed, 1 May 2024 18:41:41 +0100 Subject: [PATCH] Update doc building workflow --- .github/workflows/documentation.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3b81274..42d28d0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,14 +19,7 @@ jobs: - name: Sphinx build run: | sphinx-build docs _build - # - name: Create .nojekyll file - # run: touch .nojekyll + - name: Create .nojekyll file + run: touch .nojekyll - name: Deploy to GitHub Pages - 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: / - enable_jekyll: false - force_orphan: true \ No newline at end of file + run: mkdocs gh-deploy --force \ No newline at end of file