How to set and get environment variables in CodeDeploy
How to set and get environment variables in CodeDeploy
I want to export some variable like environment name and access in the script executed using code deploy Amazon
1 Answer
1
if [ "$DEPLOYMENT_GROUP_NAME" == "Staging" ]
then
Your command here
fi
refrence
https://aws.amazon.com/blogs/devops/using-codedeploy-environment-variables/
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Comments
Post a Comment