File tree Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - master
66
7+ permissions :
8+ contents : write
9+
710jobs :
811 cargo-doc :
912 runs-on : ubuntu-latest
10- env :
11- CARGO_INCREMENTAL : 0
12-
1313 steps :
1414 - name : Checkout repository
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v4
1616
1717 - name : Install beta toolchain
18- uses : actions-rs/toolchain@v1
19- with :
20- toolchain : beta
21- profile : minimal
22- override : true
18+ uses : dtolnay/rust-toolchain@beta
2319
2420 - name : Build docs
25- uses : actions-rs/cargo@v1
26- with :
27- command : doc
28- args : --no-deps
21+ run : cargo doc --no-deps
2922
3023 - name : Deploy docs
31- uses : peaceiris/actions-gh-pages@v3
24+ uses : peaceiris/actions-gh-pages@v4
3225 with :
33- deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
3426 github_token : ${{ github.token }}
3527 publish_dir : ./target/doc
3628 force_orphan : true
You can’t perform that action at this time.
0 commit comments