Skip to content

Commit

Permalink
Update Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
durancristhian committed Nov 27, 2018
1 parent 0b5f0fb commit 8419559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ notifications:
email: false
before_deploy:
- npm i now --no-save
- npm run clean-deploys
deploy:
provider: script
script: npm run deploy
skip_cleanup: true
on:
branch: master
after_deploy:
- npm run clean-deploys
- npm run scale
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.1",
"main": "index.js",
"scripts": {
"clean-deploys": "now rm $INSTANCE_NAME --token $NOW_TOKEN --yes",
"clean-deploys": "now rm $INSTANCE_NAME --safe --token $NOW_TOKEN --yes",
"deploy": "now alias $(now --name $INSTANCE_NAME -e EVENTBRITE_API=$EVENTBRITE_API -e MEETUP_API=$MEETUP_API -e SPREADSHEET_API=$SPREADSHEET_API --npm --token $NOW_TOKEN) $INSTANCE_NAME --token=$NOW_TOKEN",
"dev": "micro-dev -p ${PORT:-4000}",
"scale": "now scale $INSTANCE_NAME.now.sh sfo 1 --token $NOW_TOKEN",
Expand Down

0 comments on commit 8419559

Please sign in to comment.