自动更新

This commit is contained in:
zh99998 2018-08-13 22:52:48 +08:00
parent 01a184a3e4
commit 8584835770
No known key found for this signature in database
GPG Key ID: B9CF7305624F81BE
1 changed files with 1 additions and 1 deletions

View File

@ -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