File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
web : ./bin/ember-fastboot tmp/deploy-dist --port $PORT
2
- release : node fastly-purge.js
2
+ release : npm install fastly prettyjson && node fastly-purge.js
Original file line number Diff line number Diff line change 2
2
/* eslint-disable no-console */
3
3
const ServiceKey = process . env [ 'FASTLY_SERVICE_ID' ] ;
4
4
const FastlyPurgeKey = process . env [ 'FASTLY_PURGE_KEY' ] ;
5
- const Fastly = require ( './node_modules/ fastly' ) ;
5
+ const Fastly = require ( 'fastly' ) ;
6
6
7
7
8
8
if ( ! ServiceKey || ! FastlyPurgeKey ) {
@@ -13,7 +13,7 @@ if (!ServiceKey || !FastlyPurgeKey) {
13
13
const fastly = Fastly ( FastlyPurgeKey ) ;
14
14
15
15
fastly . purgeAll ( ServiceKey , ( err , fastlyResponseBody ) => {
16
- const prettyjson = require ( './node_modules/ prettyjson' ) ;
16
+ const prettyjson = require ( 'prettyjson' ) ;
17
17
if ( err ) {
18
18
return console . log ( prettyjson . render ( err , { } ) ) ;
19
19
}
You can’t perform that action at this time.
0 commit comments