File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
export RAZZLE_PUBLIC_DIR=/var/app/current/build/public
2
2
export PORT=8081
3
3
export RAZZLE_AMPLITUDE_KEY=` eb printenv | grep -Eo " RAZZLE_AMPLITUDE_KEY.=.(.*)" | sed -E " s/RAZZLE_AMPLITUDE_KEY.=.//" `
4
- export RAZZLE_CDN_ROOT=https://d1h6ehl1pyzsu8 .cloudfront.net
4
+ export RAZZLE_CDN_ROOT=https://d24gftfomm9wsp .cloudfront.net
5
5
6
6
git branch | grep " * master" > /dev/null
7
7
if [ $? -ne 0 ]
@@ -25,7 +25,7 @@ mv .gitignore.deploy .gitignore
25
25
26
26
npm run build
27
27
git add build
28
- aws s3 sync --size-only --acl public-read build/public/ s3://spaceship-earth/public/
28
+ aws s3 sync --size-only --acl public-read build/public/ s3://spaceship-earth/public/ --profile=spaceship
29
29
eb deploy Spaceship-$1 --staged
30
30
31
31
# move the real .gitignore back
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ module.exports = {
8
8
modify ( config , { target, dev } , webpack ) {
9
9
const appConfig = config ; // stay immutable here
10
10
if ( ! dev ) {
11
- appConfig [ 'output' ] [ 'publicPath' ] = 'https://d1h6ehl1pyzsu8.cloudfront.net/' ;
11
+ appConfig [ "output" ] [ "publicPath" ] =
12
+ "https://d24gftfomm9wsp.cloudfront.net/" ;
12
13
}
13
14
if ( target == 'web' ) {
14
15
if ( appConfig [ 'entry' ] [ 'client' ] . pop ) {
Original file line number Diff line number Diff line change 1
- RAZZLE_CDN_ROOT = https://d1h6ehl1pyzsu8 .cloudfront.net
1
+ RAZZLE_CDN_ROOT = https://d24gftfomm9wsp .cloudfront.net
2
2
RAZZLE_AMPLITUDE_KEY = 035fb6a633ad17998c03c0b61ec3233f
3
3
RAZZLE_PUBLIC_DIR = /Users/igor/src/spaceship-earth/public
4
4
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ IMGIX_SECRET=wtp9938guW99XPUx
13
13
GOOGLE_KEY = 623941983432-2ffu30gengmma1liije6e8u8d7mj44e6.apps.googleusercontent.com
14
14
GOOGLE_SECRET = dbdMkngKCdjW_OunF50p6UjG
15
15
SENTRY_DSN = https://63de8a81e019459ea78d0215a0cb33f8@sentry.io/1528518
16
- CDN_ROOT = https://d1h6ehl1pyzsu8 .cloudfront.net
16
+ CDN_ROOT = https://d24gftfomm9wsp .cloudfront.net
17
17
APP_PROTOCOL = http
18
18
APP_HOST = localhost
19
19
APP_PORT = 3000
You can’t perform that action at this time.
0 commit comments