music on atproto
plyr.fm
deploy#
deploy to production with preflight checks.
preflight checks#
run these checks and report any issues before proceeding:
- clean working tree -
git statusshould show nothing to commit - on main branch -
git branch --show-currentshould bemain - up to date with origin -
git fetch origin && git statusshould not be behind - no open PRs from your branch - check for any unmerged work
analyze changes#
determine what changed since last release:
just changelog
categorize changes:
- backend changes: anything in
backend/,scripts/, root config files - frontend changes: anything in
frontend/ - docs only: only changes to
docs/,STATUS.md,*.mdfiles
report the change summary to the user.
deployment decision#
based on the changes:
- if backend changes: full release needed (
just release) - if frontend only: can use
just release-frontend-only(faster) - if docs only: no deployment needed, but can release if desired
ask for confirmation before proceeding.
execute deployment#
if confirmed:
- run
just release(orjust release-frontend-onlyif applicable) - push to tangled remote:
git push tangled main --tags - report the release tag and deployment status
post-deployment#
remind the user to:
- monitor fly.io dashboard for backend deployment status
- check https://plyr.fm once deployment completes