From cc4a9e8ba99d3ed46d1bb99eebefe7c09ad3dd14 Mon Sep 17 00:00:00 2001 From: Eric Dill Date: Wed, 13 Nov 2024 08:27:44 -0500 Subject: [PATCH] Switch to official gh action for gh-pages (#376) --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fb462a..d78887a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -150,10 +150,10 @@ jobs: make html - name: Deploy the documentation if: startsWith(github.ref, 'refs/tags/') - uses: peaceiris/actions-gh-pages@v4 + id: deployment + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/build/html + path: ./docs/build/html - name: Upload to anaconda.org env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}