Create make deploy and make deploy-force (and alias make force-deploy) shortcuts.
- AWS CLI
- Git
- GNU Make
Use git submodule to include it:
git submodule add https://github.com/gslin/codedeploy-makefile.git
Add this into the bottom of your GNUmakefile:
-include codedeploy-makefile/codedeploy.gnumakefile
Then specify these variables in GNUmakefile:
APPLICATION_NAMEAWS_PROFILEAWS_REGIONS3_BUCKET
This command will create S3 bucket and CodeDeploy application:
make setup-deploy
You still need to create deployment group youself.
You can override with double colon rules:
deploy-force::
cp ".env.${GIT_BRANCH}" .env
See LICENSE.