Skip to content

ci: deploy the stahnma branch to Fly on push - #48

Merged
stahnma merged 1 commit into
mainfrom
ci/deploy-stahnma-to-fly
Nov 22, 2026
Merged

stahnma merged 1 commit into
mainfrom
ci/deploy-stahnma-to-fly

Conversation

@stahnma

@stahnma stahnma commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why

The fly branch is now stahnma, the branch that runs feed.stahnma.us.
It should be obvious which branch deploys where:

Branch Target How
main tumble.wcyd.org deploy.yml on push (unchanged)
stahnma Fly app tumble2 (feed.stahnma.us) new deploy-fly.yml on push, or make deploy

Before this, main's fly.toml also named tumble2, so make deploy
from main would have pushed the wcyd config to feed.stahnma.us.

Change

  • .github/workflows/deploy-fly.yml: on push to stahnma, run tests,
    then make deploy. Uses the FLY_API_TOKEN repo secret. A
    concurrency group keeps deploys from overlapping.
  • Makefile: make deploy refuses to run unless the branch (or
    GITHUB_REF_NAME in CI) is stahnma. FLY can be overridden
    (CI uses flyctl).
  • fly.toml header comment and README: where the live Fly config lives
    and how the branches relate.

Testing

  • make deploy on this branch exits with the branch message.
  • The workflow itself first runs when stahnma is pushed after this
    merges.

Make the branch-to-target mapping explicit:

- main deploys to tumble.wcyd.org (deploy.yml, unchanged).
- stahnma deploys to the tumble2 Fly app (feed.stahnma.us) via the
  new deploy-fly.yml, after running the tests.

make deploy now refuses to run outside the stahnma branch, since
main's fly.toml also names tumble2 but carries the wcyd config.
fly.toml and the README say where the live Fly config lives.

The workflow needs a FLY_API_TOKEN repo secret.
@stahnma
stahnma merged commit 487df71 into main Nov 22, 2026
1 check passed
@stahnma
stahnma deleted the ci/deploy-stahnma-to-fly branch November 22, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant