diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-08-15 00:18:23 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-08-15 00:19:17 +0200 |
| commit | 0fd9d7400b47f42d1043347cc2982862de7cffc7 (patch) | |
| tree | 71073121d0e9eaa51666b933d91fae08e47a52da /.github | |
| parent | bd58b5002aee8ad3b01081595817afb2a70f0cc6 (diff) | |
Build stm32 docs last.
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/doc.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 06c6fa00b..e410ffa35 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -15,7 +15,6 @@ export BUILDER_COMPRESS=true | |||
| 15 | # which makes rustup very sad | 15 | # which makes rustup very sad |
| 16 | rustc --version > /dev/null | 16 | rustc --version > /dev/null |
| 17 | 17 | ||
| 18 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | ||
| 19 | docserver-builder -i ./embassy-boot/boot -o webroot/crates/embassy-boot/git.zup | 18 | docserver-builder -i ./embassy-boot/boot -o webroot/crates/embassy-boot/git.zup |
| 20 | docserver-builder -i ./embassy-boot/nrf -o webroot/crates/embassy-boot-nrf/git.zup | 19 | docserver-builder -i ./embassy-boot/nrf -o webroot/crates/embassy-boot-nrf/git.zup |
| 21 | docserver-builder -i ./embassy-boot/rp -o webroot/crates/embassy-boot-rp/git.zup | 20 | docserver-builder -i ./embassy-boot/rp -o webroot/crates/embassy-boot-rp/git.zup |
| @@ -43,4 +42,12 @@ docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/g | |||
| 43 | export KUBECONFIG=/ci/secrets/kubeconfig.yml | 42 | export KUBECONFIG=/ci/secrets/kubeconfig.yml |
| 44 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 43 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| 45 | kubectl cp webroot/crates $POD:/data | 44 | kubectl cp webroot/crates $POD:/data |
| 46 | kubectl cp webroot/static $POD:/data \ No newline at end of file | 45 | kubectl cp webroot/static $POD:/data |
| 46 | |||
| 47 | # build and upload stm32 last | ||
| 48 | # so that it doesn't prevent other crates from getting docs updates when it breaks. | ||
| 49 | rm -rf webroot | ||
| 50 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | ||
| 51 | |||
| 52 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | ||
| 53 | kubectl cp webroot/crates $POD:/data | ||
