Created
September 19, 2015 23:52
-
-
Save bellkev/1a54bf53950ec7db104c to your computer and use it in GitHub Desktop.
deploy to EB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deployment: | |
elasticbeanstalk: | |
branch: master | |
commands: | |
- zip -r app-$CIRCLE_SHA1 . | |
- aws s3 cp app-$CIRCLE_SHA1.zip s3://$EB_BUCKET/app-$CIRCLE_SHA1.zip | |
- aws elasticbeanstalk create-application-version --application-name hello --version-label $CIRCLE_SHA1 --source-bundle S3Bucket=$EB_BUCKET,S3Key=app-$CIRCLE_SHA1.zip | |
- aws elasticbeanstalk update-environment --environment-name my-env --version-label $CIRCLE_SHA1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment