From f6f2da2748238030376405473648f2424a138cd4 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 29 Mar 2020 11:54:40 -0700 Subject: [PATCH] fix: fix automatic zeit deployment (#1734) This reverts commit 767fbccaff945c3f91b2e2804f0d40a2f09507d0 and fixes #1732. --- .travis.yml | 3 +++ bin/deploy.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2681273c..9d0853c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,9 @@ matrix: - env: BROWSER=chrome:headless COMMAND=test-browser-suite0 - env: BROWSER=chrome:headless COMMAND=test-browser-suite1 - env: COMMAND=test-unit + - env: COMMAND=deploy-all-travis + allow_failures: + - env: COMMAND=deploy-all-travis branches: only: - master diff --git a/bin/deploy.sh b/bin/deploy.sh index d8c34c99..19bb7b4c 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -22,7 +22,7 @@ if [[ ! -z "$NOW_TOKEN" ]]; then fi # launch -URL=$($NOW_COMMAND -e SAPPER_TIMESTAMP=$(date +%s%3N)) +URL=$($NOW_COMMAND --confirm -e SAPPER_TIMESTAMP=$(date +%s%3N)) # fixes issues with now being unavailable immediately sleep 60