Files
CatoandClaude Opus 5.5 6a3be90d97 chore(ci): one check per change — remove the merge sweep, check on PRs only (#336)
Removes the fleet auto-merge sweep caller (and wake chain where present);
checks run on pull requests only, not again after merging; a deploy that
waited for CI on main now deploys on push. The forge merge check
(forge/verify) verifies each PR on its merge result and merges it.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:13:43 +01:00

35 lines
1.2 KiB
YAML

name: Deploy
# Push to main → deploy to bitbaum. All logic lives in one place:
# bitbaum/loki/.github/workflows/selfhost-deploy.yml
#
# THIS IS THE ONLY FILE IN THIS REPOSITORY THAT KNOWS ABOUT OUR INFRASTRUCTURE.
# Delete it and this becomes an ordinary Next app the owner can host anywhere —
# which is what makes handover a transfer rather than a migration.
on:
push:
branches: [main]
workflow_dispatch: {}
jobs:
deploy:
uses: bitbaum/loki/.github/workflows/selfhost-deploy.yml@main
with:
app: heidi
git-ref: ${{ github.sha }}
secrets:
HETZNER_SSH_PRIVATE_KEY: ${{ secrets.HETZNER_SSH_PRIVATE_KEY }}
# A green deploy is not a working site. This requests every page a visitor
# can reach, twice — once with a session cookie and once without — because a
# middleware rewrite once took the locale root down for every signed-in
# visitor while the test suite, the build and a browser check were all green.
# See scripts/smoke.sh for what the cookie does and does not prove.
smoke:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
- run: bash scripts/smoke.sh