Files
the-nexus/.gitea/workflows/smoke-test.yml
Alexander Whitestone 9dfad66fae
Some checks failed
CI / validate (pull_request) Has been cancelled
CI / auto-merge (pull_request) Has been cancelled
feat: adding visual banner, staging link, and real smoke-test badge
2026-03-24 14:58:49 -04:00

24 lines
549 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://staging.the-nexus.com/)
if [ "$HTTP_CODE" -eq 200 ]; then
echo "Staging environment is up (HTTP 200)"
else
echo "Staging environment returned HTTP $HTTP_CODE"
exit 1
fi