2013-01-24 22:45:28 +04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2016-02-20 00:11:32 +03:00
|
|
|
- '4.3'
|
2015-07-14 21:17:23 +03:00
|
|
|
sudo: false
|
2013-01-24 22:45:28 +04:00
|
|
|
before_script:
|
2015-03-23 19:00:22 +03:00
|
|
|
- npm install -g grunt-cli
|
2016-01-08 23:01:54 +03:00
|
|
|
script: grunt build-browser-compressed
|
2014-02-05 05:08:58 +04:00
|
|
|
branches:
|
|
|
|
only:
|
2016-02-20 00:56:22 +03:00
|
|
|
- master
|
2015-08-19 22:12:58 +03:00
|
|
|
- production
|
2015-04-20 20:18:13 +03:00
|
|
|
notifications:
|
2015-05-08 18:51:49 +03:00
|
|
|
irc: "irc.mozilla.org#thimble"
|
2015-10-23 01:00:48 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: OvDWteGJ/ctOzXudDb8icaLCtdJTd1HbQq5T9HvS7ZF8IDs6xM+atqxYWeyC+2sm7fLNkWjndcKrXFqZ3TRltW7ibaKreUMtUVaVKc7mGBNBn/gVfCNvHRlbDYr6bMUVapk9x1Ql6p2jE/Ss+p2EEGkzvHPKn2RMRWOQQQM7wTQ=
|
|
|
|
matrix:
|
|
|
|
- AWS_ACCESS_KEY_ID=AKIAI7XHSZFYVHFRTRIA CLOUDFRONT_DISTRIBUTION_ID=ENS8DUD0WOHD9
|
2015-03-23 19:00:22 +03:00
|
|
|
deploy:
|
2015-08-19 22:12:58 +03:00
|
|
|
- provider: s3
|
2015-08-28 22:16:17 +03:00
|
|
|
access_key_id: AKIAI7XHSZFYVHFRTRIA
|
2015-08-19 22:12:58 +03:00
|
|
|
secret_access_key:
|
2015-08-28 22:16:17 +03:00
|
|
|
secure: XFKkzJRsjVXShcDrTdihLug1CZjr3s/2rSpQrzQnkl2ChM+waydLqd8jHrfkIUl6np2pxO8JU3HWe9AYfuTMdNhWijQS2E1xesUTTK9KQaPdu5mhe98AkCu/rziAv485To4hze0om8GHyREUR1cOxalYVflupZtHIkKzQgbF8AY=
|
|
|
|
bucket: mozillathimblelivepreview-net-s3bucket-l1armm3pssk5
|
2015-08-19 22:12:58 +03:00
|
|
|
local-dir: dist
|
|
|
|
upload-dir: bramble/staging/dist
|
|
|
|
skip_cleanup: true
|
|
|
|
detect_encoding: true
|
|
|
|
on:
|
2016-02-20 00:11:32 +03:00
|
|
|
repo: mozilla/brackets
|
2016-02-20 00:56:22 +03:00
|
|
|
branch: master
|
2016-03-09 00:32:30 +03:00
|
|
|
condition: $UPDATE_STRINGS != true
|
2015-08-19 22:12:58 +03:00
|
|
|
- provider: s3
|
2015-08-28 22:16:17 +03:00
|
|
|
access_key_id: AKIAI7XHSZFYVHFRTRIA
|
2015-08-19 22:12:58 +03:00
|
|
|
secret_access_key:
|
2015-08-28 22:16:17 +03:00
|
|
|
secure: XFKkzJRsjVXShcDrTdihLug1CZjr3s/2rSpQrzQnkl2ChM+waydLqd8jHrfkIUl6np2pxO8JU3HWe9AYfuTMdNhWijQS2E1xesUTTK9KQaPdu5mhe98AkCu/rziAv485To4hze0om8GHyREUR1cOxalYVflupZtHIkKzQgbF8AY=
|
|
|
|
bucket: mozillathimblelivepreview-net-s3bucket-l1armm3pssk5
|
2015-08-19 22:12:58 +03:00
|
|
|
local-dir: dist
|
|
|
|
upload-dir: bramble/production/dist
|
|
|
|
skip_cleanup: true
|
|
|
|
detect_encoding: true
|
|
|
|
on:
|
2016-02-20 00:11:32 +03:00
|
|
|
repo: mozilla/brackets
|
2015-08-19 22:12:58 +03:00
|
|
|
branch: production
|
2016-03-09 00:32:30 +03:00
|
|
|
condition: $UPDATE_STRINGS != true
|
2015-10-23 01:00:48 +03:00
|
|
|
after_deploy:
|
|
|
|
- node invalidate.js
|