File tree Expand file tree Collapse file tree 1 file changed +13
-24
lines changed Expand file tree Collapse file tree 1 file changed +13
-24
lines changed Original file line number Diff line number Diff line change @@ -45,35 +45,24 @@ jobs:
45
45
run : |
46
46
# Note that the above build doesn't set Zephyrbase, so we'll need to do that here.
47
47
west build -t rustdoc -b nrf52840dk/nrf52840 docgen
48
- mkdir docout
49
- mv build/rust/target/thumbv7em-none-eabi/doc docout /nostd
50
- cp docs/top-index.html docout /index.html
48
+ mkdir rustdocs
49
+ mv build/rust/target/thumbv7em-none-eabi/doc rustdocs /nostd
50
+ cp docs/top-index.html rustdocs /index.html
51
51
52
52
- name : Build build documentation
53
53
working-directory : zephyr-rust-lang
54
54
run : |
55
55
cd zephyr-build
56
56
cargo doc
57
- mv target/doc ../docout /std
57
+ mv target/doc ../rustdocs /std
58
58
59
- - name : Upload artifact
60
- uses : actions/upload-pages-artifact@v3
61
- with :
62
- path : zephyr-rust-lang/docout
63
-
64
- deploy :
65
- needs : generate-docs
66
- permissions :
67
- pages : write
68
- id-token : write
69
-
70
- environment :
71
- name : github-pages
72
- url : ${{ steps.deployment.outputs.page_url }}
73
-
74
- runs-on : ubuntu-latest
59
+ - name : Compress docs
60
+ working-directory : zephyr-rust-lang
61
+ run : |
62
+ tar --use-compress-program="xz -T0" -cf rustdocs.tar.xz rustdocs
75
63
76
- steps :
77
- - name : Deploy to GitHub Pages
78
- id : deployment
79
- uses : actions/deploy-pages@v4
64
+ - name : Upload docs artifact
65
+ uses : actions/upload-artifact@v4
66
+ with :
67
+ name : rustdocs
68
+ path : zephyr-rust-lang/rustdocs.tar.xz
You can’t perform that action at this time.
0 commit comments