Created
March 13, 2017 17:01
-
-
Save deptno/3ab922dff90f08461b2f366b77e24a06 to your computer and use it in GitHub Desktop.
travis elastic beanstalk, node, yarn
This file contains hidden or 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
language: node_js | |
node_js: | |
- 'node' | |
cache: | |
yarn: true | |
directories: | |
- node_modules | |
before_install: | |
- curl -o- -L https://yarnpkg.com/install.sh | bash | |
- export PATH=$HOME/.yarn/bin:$PATH | |
install: | |
- yarn | |
- yarn compile | |
notifications: | |
email: false | |
slack: | |
before_deploy: zip -q -r [FILE_NAME] . | |
deploy: | |
- provider: elasticbeanstalk | |
access_key_id: | |
secret_access_key: | |
skip_cleanup: true | |
region: ap-northeast-2 | |
zip_file: ./[FILE_NAME] | |
bucket_name: | |
app: | |
env: | |
on: | |
tags: true | |
all_branches: true | |
condition: $TRAVIS_TAG == dev-* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment