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

Commit ff2c00b

Browse files
committed
deploy: update deploy script
1 parent 4f59823 commit ff2c00b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/deploy.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
npm run -s now -- --token=$NOW_TOKEN --public
4+
now="npm run -s now -- --token=$NOW_TOKEN"
5+
repo_name="${TRAVIS_REPO_SLUG##*/}"
6+
7+
$now --public
8+
$now alias
9+
$now rm --safe --yes "$repo_name"

0 commit comments

Comments
 (0)