File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments