File tree 1 file changed +7
-15
lines changed
1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- master
6
6
7
+ permissions :
8
+ contents : write
9
+
7
10
jobs :
8
11
cargo-doc :
9
12
runs-on : ubuntu-latest
10
- env :
11
- CARGO_INCREMENTAL : 0
12
-
13
13
steps :
14
14
- name : Checkout repository
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v4
16
16
17
17
- 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
23
19
24
20
- name : Build docs
25
- uses : actions-rs/cargo@v1
26
- with :
27
- command : doc
28
- args : --no-deps
21
+ run : cargo doc --no-deps
29
22
30
23
- name : Deploy docs
31
- uses : peaceiris/actions-gh-pages@v3
24
+ uses : peaceiris/actions-gh-pages@v4
32
25
with :
33
- deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
34
26
github_token : ${{ github.token }}
35
27
publish_dir : ./target/doc
36
28
force_orphan : true
You can’t perform that action at this time.
0 commit comments