From 6ef1e479fdb66c0cc979e9e5455817b2091d91d4 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Tue, 17 Feb 2015 15:27:55 +0100 Subject: [PATCH] Set ASSETS_HOST for s3 deployment The page needs to explicitly set host to our s3's bucket, because otherwise it will be relative to the heroku app's URL --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 328f0908..15277192 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ notifications: secure: "JJezWGD9KJY/LC2aznI3Zyohy31VTIhcTKX7RWR4C/C8YKbW9kZv3xV6Vn11\nSHxJTeZo6st2Bpv6tjlWZ+HCR09kyCNavIChedla3+oHOiuL0D4gSo+gkTNW\nUKYZz9mcQUd9RoQpTeyxvdvX+l7z62/7JwFA7txHOqxbTS8jrjc=" before_deploy: - - DISABLE_FINGERPRINTS=true ember build --env production + - ASSETS_HOST=https://s3.amazonaws.com/travis-error-pages ember build --env production # delete some of the stuff that's useless for maintenance page - rm -fr dist/assets/*.js dist/images/emoji dist/index.html dist/images/sponsors - cp dist/maintenance.html dist/index.html