Skip to content

Deployment Environment Variables

FlyCD provides a set of Environment Variables that are automatically set by the system at deploy time, such as the SHA of the Git Commit or the name of the Git commit author. They’re prefixed with FLYCD_.

The table below contains the list of variables and their description:

VariablesDescription
FLYCD_GIT_COMMIT_SHAThe SHA hash of the commit that triggered the deployment. For example c5c78cf9f25f348285c4fc7006f3e0f17af330aa
FLYCD_GIT_COMMIT_REFThe git branch of the commit that triggered the deployment. For example: feat-instant-rollback.
FLYCD_GIT_COMMIT_URLThe URL of the commit that triggered the deployment. For example https://github.com/pmbanugo/silver-lamp/commit/c5c78cf9f25f348285c4fc7006f3e0f17af3300we
FLYCD_GIT_COMMIT_AUTHORThe author of the commit that triggered the deployment.