I want to export some variable like environment name and access in the script executed using code deploy Amazon
Asked
Active
Viewed 1,837 times
1 Answers
2
if [ "$DEPLOYMENT_GROUP_NAME" == "Staging" ]
then
Your command here
fi
refrence https://aws.amazon.com/blogs/devops/using-codedeploy-environment-variables/

Asif Saeed
- 1,985
- 14
- 24

Affan
- 150
- 11
-
1The question is "how to set variable as DEPLOYMENT_GROUP_NAME" ? – GuillaumeRZ Jun 28 '21 at 17:45