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 8d327ba
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -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 8d327ba

Please sign in to comment.