Skip to main content

Deploy Governor

Download Governor's CloudFormation template.

Execute the following AWS CLI command to deploy Governor. Replace the placeholders (${IMAGE_URI}, ${SECRET_NAME}, ${CONFIG_URL}) with the appropriate values.

aws cloudformation deploy \
--template-file cloudformation.yaml \
--stack-name stronghold-governor \
--capabilities CAPABILITY_NAMED_IAM \
--parameter-overrides \
EcrImageUri=${IMAGE_URI} \
SecretName=${SECRET_NAME} \
ConfigUrl=${CONFIG_URL} \
DebugMode=false

Finally, check the CloudFormation stack outputs for the webhook URL. Edit the GitHub App's configuration to include the webhook URL.