Created
July 14, 2019 20:04
-
-
Save azarboon/3e0310fb694360ba72f1a06bf3b94a6b to your computer and use it in GitHub Desktop.
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
# Do not change version. This is the version of aws buildspec, not the version of your buldspec file. | |
version: 0.2 | |
phases: | |
install: | |
commands: | |
- npm install -g yarn | |
- yarn | |
build: | |
commands: | |
- yarn test | |
- aws cloudformation package --template-file template.yaml --output-template-file cf-template.yaml --s3-bucket codebuild-bucket-4 | |
artifacts: | |
files: | |
- cf-template.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment