Hydrate Laravel Cloud builds with Ghostable.
Have Laravel Cloud pull fresh env vars from Ghostable before you cache config, keeping deployments current without provider tokens or manual edits.
Runs in your build commands
Add `npx ghostable deploy cloud` ahead of config:cache so every deploy pulls envs straight from Ghostable.
Ghostable stays canonical
Store variables in Ghostable and let Cloud receive the latest values—no stale .env files or copy/paste drift.
Staging and production stay separate
Use Cloud environment secrets per stage so each deploy command writes only to the intended environment.
Turn on Laravel Cloud syncing and forget about manual updates.
-
1
Add your deployment token
In Laravel Cloud → Environments → Settings → General → Custom environment variables (reveal secrets), add GHOSTABLE_CI_TOKEN and GHOSTABLE_DEPLOY_SEED from Ghostable.
-
2
Insert the deploy command
Under Settings → Deployments → Build commands, run `npx ghostable deploy cloud` before config:cache.
-
3
Deploy and cache config
Trigger a deploy—Ghostable writes env vars into Cloud, then your config cache picks them up.
More integrations
Explore other providers
Browse the growing lineup—new integrations land here as soon as we ship them.