Deploy a release to the specified environments.
graph TB
START((Start))
choice-infra{Deploy Infra?}
choice-app{Deploy App?}
deploy-infra[[Deploy Infra]]
deploy-app[[Deploy App]]
END((End))
START --> choice-infra
choice-infra -->|Yes| deploy-infra
choice-infra -->|No| choice-app
deploy-infra --> choice-app
choice-app -->|Yes| deploy-app
choice-app -->|No| END
deploy-app --> END
click deploy-infra callback "deploy-infra.md"
click deploy-app callback "deploy-app.md"
name | type | description | default |
---|---|---|---|
deploy-infra |
boolean |
Deploy infrastructure | true |
deploy-app |
boolean |
Deploy application | true |
version |
string |
The ECR tag to deploy | -- |
image-name |
string |
The name of the image to deploy | ${{ vars.IMAGE_NAME }} |
stage |
string |
The environment to deploy to | -- |
stage-url |
string |
The URL of the environment | -- |
grafana-workspace-name |
string |
The name of the Grafana workspace for the monitoring deployment | ${{ vars.GRAFANA_WORKSPACE_NAME }} |
tf-directory |
string |
The directory containing the Terraform files | ${{ vars.TF_DIRECTORY }} |
tf-variables |
string |
The values of the dynamic Terraform variables | `` |
aws-region |
string |
The AWS region to deploy to | ${{ vars.AWS_REGION }} |
aws-role-arn |
string |
The ARN of the AWS role to assume for the main deployment | -- |
aws-role-monitoring-arn |
string |
The ARN of the AWS role to assume for the monitoring deployment | ${{ vars.AWS_ROLE_MONITORING }} |
run-label |
string |
The run label to use for the actions | ubuntu-latest |
--
Permission | Level |
---|---|
contents |
write |
checks |
write |
id-token |
write |
AWS_REGION
(only ifinputs.aws-region
is not set)AWS_ROLE_MONITORING
(only ifinputs.aws-role-monitoring-arn
is not set)GRAFANA_WORKSPACE_NAME
(only ifinputs.grafana-workspace-name
is not set)TF_DIRECTORY
(only ifinputs.tf-directory
is not set)
TF_API_TOKEN
--