Integrate Ghostable into automated deployments.
GHOSTABLE_CI_TOKEN
.ghostable env:deploy
during your workflow to write variables to the local .env
file.GHOSTABLE_CI_TOKEN
to your site’s environment variables or secrets. Call ghostable env:deploy
early in the deploy script so the generated .env
file is available to later steps.
Example:
GHOSTABLE_CI_TOKEN
as a secret in your project’s settings. Add a pre-deploy command that runs ghostable env:deploy
so the environment is populated before your application builds.
vapor.yml
include a deploy hook that calls ghostable env:deploy
before Vapor packages your application.
GHOSTABLE_CI_TOKEN
and use a step similar to the following: