diff options
| author | Tyler <[email protected]> | 2023-09-29 20:02:24 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-29 20:02:24 -0600 |
| commit | 2f9b59c5cf21f1e2761a9ccefdfd86f0edea829c (patch) | |
| tree | 8964744b4fb753cf98f6f413464106c4d2a72976 /.github/ci/doc.sh | |
| parent | ce91fb2bfc846570ef543a09396c428d70675245 (diff) | |
| parent | 95b3d9eb3b3657de3d7bc9c04f8fb83eae901640 (diff) | |
Merge branch 'main' into issue-1974-add-sai-driver
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 |
