Skip to content

v0.1.7

Choose a tag to compare

@liustack liustack released this 20 Nov 09:40
· 155 commits to main since this release

tifa deploy now works from the deploy section of tifa.yaml, from your machine or from GitHub Actions.

  • Four settings: host, domain, ssh (direct, cloudflare or tailscale) and github. go tool tifa deploy setup shows a plan of what it will add, change or remove on the server, Cloudflare and GitHub, asks, then applies it. It removes only what Tifa made.
  • With github: true, setup writes .github/workflows/tifa-deploy.yml, which deploys after the CI workflow passes, and sets the repository secrets with gh. CI can reach SSH directly, through a Cloudflare Tunnel guarded by Access, or over Tailscale.
  • With domain set, deploy and rollback clear the Cloudflare cache of that host name once the release is live.
  • go tool tifa deploy env set/unset/list edits the app's .env on the server and restarts it with a health check.
  • go tool tifa new writes a GitHub CI workflow that runs go tool tifa check.
  • tifa deploy github and setup --cloudflare are gone: set deploy.github and deploy.domain instead. The deploy commands are still marked as may change.

Full list: CHANGELOG