Skip to content

Commit

Permalink
actionsの修正とキャッシュの追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tedo0627 committed Dec 21, 2024
1 parent 3ee4c6c commit d72d5b1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d72d5b1

Please sign in to comment.