Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo

Hosts the texttile demo instance on Fly.io from the published image ghcr.io/texttile-blog/texttile:latest: app texttile-demo on demo.texttile.blog. The application code lives at texttile-blog/texttile, and that repository deploys its own source to a different app, texttile-staging on staging.texttile.blog. The demo never builds from source; it runs what was published.

How it deploys

  • A push to main in this repo deploys.
  • A daily cron (03:17 Europe/Berlin) redeploys, which pulls the newest image the pinned tag names.
  • Run the workflow by hand for an immediate update: gh workflow run deploy.

Which version runs

fly.toml follows :latest, so every published release reaches the demo on its next deploy, including new major versions. Every build also carries its exact version and commit as immutable tags. To hold the demo on one build, write the exact version (:3.0.4); to follow one major or minor line, use :3 or :3.0.

The app migrates its database at boot. An update is only: pull image, restart. All state lives on the Fly volume (/data).

New instance

  1. Copy this repo.
  2. Run the one-time setup commands from the header of fly.toml.
  3. Change app and PHX_HOST in fly.toml.
  4. Create a deploy token (fly tokens create deploy -a <name>) and store it as the FLY_API_TOKEN secret of the new repo.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors