From 128fa17af223f53c3f7a814cbe7fc7c6d3d96020 Mon Sep 17 00:00:00 2001 From: teach310 Date: Mon, 6 Nov 2023 22:41:19 +0900 Subject: [PATCH] ci: change actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使うactionsを2つ間違えていた。 --- .github/workflows/publish_docs.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml index a922e09..91e6d99 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_docs.yml @@ -24,22 +24,19 @@ jobs: - name: Build docs run: make docs/build - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-pages-artifact@v2 with: - name: docs path: docs/_site deploy: + needs: build permissions: - id-token: write pages: write - needs: build - runs-on: ubuntu-latest + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages id: deployment - uses: peaceiris/actions-gh-pages@v3 - with: - deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + uses: actions/deploy-pages@v2