name: Deploy # Push to main → deploy this app to bitbaum. All the logic lives in one # place: bitbaum/loki/.github/workflows/selfhost-deploy.yml # (docs: docs/infrastructure/self-host-cd.md there). It waits for this # commit's own CI to go green before anything reaches the box. on: push: branches: [main] # Redeploy the current main without inventing a commit. Re-running a failed # deploy is NOT equivalent: a re-run reuses the original run's resolved # reusable-workflow version, so a fix landed since then does not apply. workflow_dispatch: jobs: deploy: uses: bitbaum/loki/.github/workflows/selfhost-deploy.yml@main with: app: solon secrets: inherit