File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,36 +20,26 @@ concurrency:
2020
2121jobs :
2222 build :
23-
2423 runs-on : ubuntu-latest
25-
2624 steps :
2725 - uses : actions/checkout@v4
2826 - name : Run tests
2927 run : cargo test --workspace --verbose
30-
3128 docs :
3229 # main only
3330 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
3431 runs-on : ubuntu-latest
3532 needs : build
3633 steps :
3734 - uses : actions/checkout@v4
38-
39- - name : Check Rust version
40- run : rustc --version
41-
4235 - name : Build docs
43- run : cargo doc --no-deps --workspace --verbose
44-
36+ run : cargo doc --no-deps --all-features --workspace
4537 - name : Add redirect
46- run : echo '<meta http-equiv="refresh" content="0;url=twamp_rs/index.html">' > target/doc/index.html
47-
38+ run : echo '<html><head><meta http-equiv="refresh" content="0; URL=./twamp_rs" /></head></html>' > target/doc/index.html
4839 - name : Upload artifact
4940 uses : actions/upload-pages-artifact@v3
5041 with :
5142 path : ./target/doc
52-
5343 deploy :
5444 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5545 environment :
You can’t perform that action at this time.
0 commit comments