Skip to content

v0.1.14

Choose a tag to compare

@liustack liustack released this 21 Nov 17:45
· 89 commits to main since this release

tifa deploy names every input and secret with TIFA_DEPLOY_, reads every input the same way (flag, then environment, then .env), and sets up CI without gh.

  • Renamed inputs. DEPLOY_HOST is now TIFA_DEPLOY_HOST, CF_CACHE_PURGE_TOKEN is TIFA_DEPLOY_CF_PURGE_TOKEN, CF_ZONE_ID is TIFA_DEPLOY_CF_ZONE_ID. An old name left in .env stops tifa deploy with an error that names the new one.
  • Renamed workflow secrets. tifa deploy setup finds the secrets an earlier version set, sets them under the new names and removes the old ones.
  • Purge token and zone ID from .env. A machine without a cf login can clear the CDN cache at deploy.
  • No gh needed. Without gh, setup and remove call the GitHub API with a fine-grained token from TIFA_DEPLOY_GITHUB_TOKEN. Setup prints a link that opens GitHub's token form with the permissions filled in.

Upgrading: rename the inputs in .env, run go tool tifa deploy setup again when deploying from CI, and commit the workflow it writes.

Full list: CHANGELOG