From 8584835770bbdec77b98302a162e548e16990589 Mon Sep 17 00:00:00 2001 From: zh99998 Date: Mon, 13 Aug 2018 22:52:48 +0800 Subject: =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 70e3499..168a60e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ cache: directories: - '$HOME/.npm' before_install: - - if [ "$TRAVIS_BRANCH" = "master" ]; then git checkout web; fi + - if [ "$TRAVIS_BRANCH" = "master" ]; then git remote set-branches --add origin web; git fetch origin web; git checkout web; fi script: npm run build deploy: provider: s3 -- cgit v1.2.3