From d72d5b1ea3ab7d9ff344db4e8096133460e38d99 Mon Sep 17 00:00:00 2001 From: tedo0627 <24734045+tedo0627@users.noreply.github.com> Date: Sun, 22 Dec 2024 00:03:37 +0900 Subject: [PATCH] =?UTF-8?q?actions=E3=81=AE=E4=BF=AE=E6=AD=A3=E3=81=A8?= =?UTF-8?q?=E3=82=AD=E3=83=A3=E3=83=83=E3=82=B7=E3=83=A5=E3=81=AE=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5e4ccb4..5e92a03 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,12 +11,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install mdBook + - name: Install rust run: | curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh rustup update + + - name: Cache + uses: Swatinem/rust-cache@v2 + + - name: Install mdBook + run: | cargo install mdbook cargo install mdbook-admonish + - name: Setup Pages id: pages uses: actions/configure-pages@v5 @@ -35,6 +42,9 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + permissions: + pages: write + id-token: write steps: - name: Deploy to GitHub Pages id: deployment