Update .github/workflows/deploy-docs.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/deploy-docs.yml
vendored
3
.github/workflows/deploy-docs.yml
vendored
@@ -32,10 +32,11 @@ jobs:
|
|||||||
- name: Health check bundle
|
- name: Health check bundle
|
||||||
run: |
|
run: |
|
||||||
python -m http.server 3000 --directory build &
|
python -m http.server 3000 --directory build &
|
||||||
|
SERVER_PID=$!
|
||||||
|
trap "kill $SERVER_PID" EXIT
|
||||||
sleep 5
|
sleep 5
|
||||||
curl -f http://localhost:3000/health.json
|
curl -f http://localhost:3000/health.json
|
||||||
curl -f http://localhost:3000/version.json
|
curl -f http://localhost:3000/version.json
|
||||||
|
|
||||||
- name: Select environment
|
- name: Select environment
|
||||||
id: env
|
id: env
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user