Reputation: 2045
I want to export some variable like environment name and access in the script executed using code deploy Amazon
Upvotes: 5
Views: 2134
Reputation: 150
if [ "$DEPLOYMENT_GROUP_NAME" == "Staging" ]
then
Your command here
fi
refrence https://aws.amazon.com/blogs/devops/using-codedeploy-environment-variables/
Upvotes: 2