Skip to content

Commit bc004c7

Browse files
committed
chore: update GitHub Pages actions
1 parent 1a0043a commit bc004c7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
pages: write # To push to a GitHub Pages site
1313
id-token: write # To update the deployment status
1414
steps:
15-
- uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
1818
- name: Install latest mdbook
1919
run: |
2020
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
@@ -27,13 +27,13 @@ jobs:
2727
# This assumes your book is in the root of your repository.
2828
# Just add a `cd` here if you need to change to another directory.
2929
mdbook build
30-
- name: Setup Pages
31-
uses: actions/configure-pages@v2
32-
- name: Upload artifact
33-
uses: actions/upload-pages-artifact@v1
30+
- name: Setup Pages
31+
uses: actions/configure-pages@v3
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v2
3434
with:
3535
# Upload entire repository
3636
path: 'book'
37-
- name: Deploy to GitHub Pages
38-
id: deployment
39-
uses: actions/deploy-pages@v1
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)