File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 11name : gh-pages
22
3+ permissions :
4+ contents : read
5+ pages : write
6+ id-token : write
7+
38on :
49 push :
510 branches :
914 deploy :
1015 name : GH-pages documentation
1116 runs-on : ubuntu-latest
17+ environment :
18+ name : github-pages
19+ url : https://rust-random.github.io/rand/
20+
1221 steps :
13- - uses : actions/checkout@v3
22+ - name : Checkout
23+ uses : actions/checkout@v3
24+
1425 - name : Install toolchain
1526 uses : dtolnay/rust-toolchain@nightly
16- - name : doc (rand)
27+
28+ - name : Build docs
1729 env :
1830 RUSTDOCFLAGS : --cfg doc_cfg
1931 # --all builds all crates, but with default features for other crates (okay in this case)
2032 run : |
2133 cargo doc --all --features nightly,serde1,getrandom,small_rng
2234 cp utils/redirect.html target/doc/index.html
35+
2336 - name : Setup Pages
2437 uses : actions/configure-pages@v2
38+
2539 - name : Upload artifact
2640 uses : actions/upload-pages-artifact@v1
2741 with :
2842 path : ' ./target/doc'
43+
2944 - name : Deploy to GitHub Pages
3045 id : deployment
3146 uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments