Files
the-nexus/.gitea/workflows/smoke-test.yml
Timmy Time 06faa75df7
Some checks failed
Staging Smoke Test / smoke-test (push) Failing after 1s
Deploy Nexus / deploy (push) Failing after 8s
fix: point staging to localhost exclusively and entirely (#459)
2026-03-24 21:21:07 +00:00

24 lines
542 B
YAML

name: Staging Smoke Test
on:
push:
branches:
- main
schedule:
- cron: '*/15 * * * *'
workflow_dispatch:
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- name: Check staging environment uptime
run: |
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/)
if [ "$HTTP_CODE" -eq 200 ]; then
echo "Staging environment is up (HTTP 200)"
else
echo "Staging environment returned HTTP $HTTP_CODE"
exit 1
fi