Skip to content

Commit

Permalink
ci(deploy): more robust script
Browse files Browse the repository at this point in the history
also keep the latest two deploys around instead of just one
  • Loading branch information
gr2m committed Feb 19, 2018
1 parent 786d2dc commit dff8d47
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/deploy.sh
@@ -1,8 +1,12 @@
#!/bin/sh

# https://github.com/zeit/now-cli/issues/817
now="npx now@7.1.1 --token=$NOW_TOKEN"
now="npx now --debug --token=$NOW_TOKEN"

echo "$ now rm --safe --yes first-timers-bot"
$now rm --safe --yes first-timers-bot

echo "$ now --public"
$now --public

echo "$ now alias"
$now alias
$now rm --safe --yes first-timers-bot

0 comments on commit dff8d47

Please sign in to comment.