mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
48 lines
3.1 KiB
YAML
48 lines
3.1 KiB
YAML
language: node_js
|
|
node_js: '0.12'
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
notifications:
|
|
slack:
|
|
secure: ezESiG7JnuSLZc2/PPhOvWUv5BHBCr+g86MsuLLw+S+zz3DUfzWHMQ1g5tUvkeSDTPmfEIX41EnPkaoWtsD3OGO0PGXgseAfA8+6Z4N1rICNZZrhXZB2s6UdwRK1e+0Jol4W3kHmt96BHyN2scLNgJYeWMgSJllVsuPhMTlKBZIXI9u540NH8Nxjl3f2WvoIg64Q1mZvMxkpPbw4xssx6U4HSFE8kTTE6+EFsSxzombFX0cLGjPiJ9QZgGVUk4UkIjyiFLQQDfQlLllCaUpqJ9+qbuCNoMSKA2yty/qyZ8Y+r4OlMberjmBzR9GRLLyXWWcaAfMIgwlRhjtLYIDAUSsGM1iwUWCgyB9maG2IiXuYLSueuMx8DcDwbpUepoDgnqBYnM2AJmT8gcsxqlKYzJpYpHDgZgBlLZQgMXqjrVJHs/Tf9XVcLS6HAn1Ww0OOT01jThfy4gClpAuqLayYexsXOoL+RaFg25E2NzuTtaFWgRfWZgcAeqYNDiUzwun2D4vZ5I+NtdRP0gzpbG2fxhFz05vAqyf1Kp6ZYb17Li3A38dIm6Lsvv3qawAIAgNaZpIZX3f89+uq6jHU8kJy1Iv823JK2Xac3vEz3SHUKJnuXFF0LO07om9AcNEXhP/JrJ617S8nfvDtZRJODMFhz8qQwie+65Ql1I871goBpVs=
|
|
env:
|
|
global:
|
|
- secure: kXRyOECCfmTmIyibSKyHFz9cC5YGDsLIZJyiSpepvjRvuuJErxpD3yokp++JCJXdj/CRfJKazeMPkgek78zGiI/xnHR2aVxuQraU5ELIVNBCaFDtM4lKxtTVvEAtErwhWrH9zMiJkgXGF/MwID0QgZVlD/hpKI3MoS8sS1dmvDlqlregTvUZWBnlqMnrQuOXFNLPT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9v5hN2VUXg3BjuF4TEBsrN78WMNI+U3g1+W1UW+036eP09Z7QDxIvLoQdIaQncGBny2KnR2j/Gmgz9eG0eg4dlV+2W+9DqE4y+tmU4Jw=
|
|
- EB_REGION=us-east-1
|
|
- EB_APP=scratch-www
|
|
- EB_AWS_BUCKET_NAME=elasticbeanstalk-us-east-1-307680192167
|
|
- SKIP_CLEANUP=true
|
|
- ELASTIC_BEANSTALK_LABEL=${TRAVIS_COMMIT:0:5}
|
|
- BUILD_ARCHIVE=$ELASTIC_BEANSTALK_LABEL.zip
|
|
before_deploy:
|
|
- zip -qr $BUILD_ARCHIVE .
|
|
deploy:
|
|
- provider: elasticbeanstalk
|
|
access_key_id: $EB_AWS_ACCESS_KEY_ID
|
|
secret_access_key: $EB_AWS_SECRET_ACCESS_KEY
|
|
bucket_name: $EB_AWS_BUCKET_NAME
|
|
bucket_path: $EB_APP
|
|
zip_file: $BUILD_ARCHIVE
|
|
skip_cleanup: $SKIP_CLEANUP
|
|
region: $EB_REGION
|
|
app: $EB_APP
|
|
env: scratch-www-staging
|
|
on:
|
|
repo: LLK/scratch-www
|
|
branch: develop
|
|
- provider: elasticbeanstalk
|
|
access_key_id: $EB_AWS_ACCESS_KEY_ID
|
|
secret_access_key: $EB_AWS_SECRET_ACCESS_KEY
|
|
bucket_name: $EB_AWS_BUCKET_NAME
|
|
bucket_path: $EB_APP
|
|
zip_file: $BUILD_ARCHIVE
|
|
skip_cleanup: $SKIP_CLEANUP
|
|
region: $EB_REGION
|
|
app: $EB_APP
|
|
env: scratch-www-production
|
|
on:
|
|
repo: LLK/scratch-www
|
|
branch: master
|