Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
deploy: update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Oct 30, 2017
1 parent 4f59823 commit ff2c00b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail

npm run -s now -- --token=$NOW_TOKEN --public
now="npm run -s now -- --token=$NOW_TOKEN"
repo_name="${TRAVIS_REPO_SLUG##*/}"

$now --public
$now alias
$now rm --safe --yes "$repo_name"

0 comments on commit ff2c00b

Please sign in to comment.