Skip to main content

Update Your Environment

Greyhound automatically updates your environment when you push new commits to your PR branch.

How Updates Work

When you push to a branch with an active environment:

  1. Greyhound detects the synchronize webhook from GitHub
  2. It re-reads your .greyhound/config.yaml from the latest commit
  3. Builds are re-triggered with the new commit SHA
  4. Services are updated with the new images
  5. The PR comment is updated with the latest status

What Gets Updated

  • Container images — Builds re-run with the new code
  • Config changes — Changes to services, jobs, environment variables, and other config are applied
  • New services — Adding a service to your config creates it in the environment
  • Removed services — Removing a service from your config deletes it from the environment

What Stays the Same

  • Databases — Aurora clusters are not recreated on updates. Your data persists across pushes.
  • Persistent volumes — EFS-backed volumes retain their data.
  • Namespace — The environment keeps the same namespace and URLs.