File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 22
22
- run : bash ci/spellcheck.sh list
23
23
- run : mdbook build
24
24
- run : cargo test --all --manifest-path=./examples/Cargo.toml --target-dir ./target
25
- - uses : rust-lang/simpleinfra/github- actions/static-websites@master
25
+ - uses : actions/upload-pages-artifact@v3
26
26
with :
27
- deploy_dir : book/html
28
- github_token : ${{ secrets.GITHUB_TOKEN }}
27
+ path : book/html
29
28
if : github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'rust-lang'
29
+
30
+ deploy :
31
+ name : deploy
32
+ needs : test
33
+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'rust-lang'
34
+ permissions :
35
+ pages : write
36
+ id-token : write
37
+ environment :
38
+ name : github-pages
39
+ url : ${{steps.deployment.outputs.page_url}}
40
+ runs-on : ubuntu-latest
41
+ steps :
42
+ - name : Deploy to GitHub Pages
43
+ uses : actions/deploy-pages@v4
44
+ id : deployment
You can’t perform that action at this time.
0 commit comments