Goatside

Updating

Pull in new versions of Goatside and keep your database in step.

Your Vercel project deploys every push to your fork's main branch. To update, pull the new version, migrate your database, then push.

New versions are listed on GitHub Releases and in CHANGELOG.md, with what changed since the last one. To hear about them, choose Watch → Custom → Releases on the repo.

Pull the update

From your clone:

git remote add upstream https://github.com/joshxfi/goatside   # once
git pull upstream main
pnpm install

Migrate the database

If GitHub Actions runs your migrations (see Database), it applies new ones after you push, and you can skip this step.

Otherwise, the new version may expect new tables or columns, so apply any new migrations before it deploys. Database shows where to find the URL and token.

TURSO_DATABASE_URL=libsql://goatside-<you>.turso.io \
TURSO_AUTH_TOKEN=<token> \
pnpm db:migrate

With nothing new to apply, it does nothing, so it's safe to run every time.

Push to deploy

git push

Vercel builds and deploys it. Check that it finished under your project's Deployments.

GitHub's Sync fork button works too, but it deploys straight away. If GitHub Actions doesn't run your migrations, run any new migration first.

If a deploy misbehaves, Instant Rollback in Vercel puts the previous version back.

On this page