diff options
Diffstat (limited to '.github/ci/doc.sh')
| -rwxr-xr-x | .github/ci/doc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 57184dc1d..66caa9150 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -39,6 +39,7 @@ docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/g | |||
| 39 | docserver-builder -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup | 39 | docserver-builder -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup |
| 40 | docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup | 40 | docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup |
| 41 | docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static | 41 | docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static |
| 42 | docserver-builder -i ./embassy-net-adin1110 -o webroot/crates/embassy-net-adin1110/git.zup | ||
| 42 | 43 | ||
| 43 | export KUBECONFIG=/ci/secrets/kubeconfig.yml | 44 | export KUBECONFIG=/ci/secrets/kubeconfig.yml |
| 44 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 45 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| @@ -47,8 +48,8 @@ kubectl cp webroot/static $POD:/data | |||
| 47 | 48 | ||
| 48 | # build and upload stm32 last | 49 | # build and upload stm32 last |
| 49 | # so that it doesn't prevent other crates from getting docs updates when it breaks. | 50 | # so that it doesn't prevent other crates from getting docs updates when it breaks. |
| 51 | |||
| 50 | rm -rf webroot | 52 | rm -rf webroot |
| 51 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | 53 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup |
| 52 | |||
| 53 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 54 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| 54 | kubectl cp webroot/crates $POD:/data | 55 | kubectl cp webroot/crates $POD:/data |
