自动更新

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

View File

@ -4,7 +4,7 @@ cache:
directories: directories:
- '$HOME/.npm' - '$HOME/.npm'
before_install: 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 script: npm run build
deploy: deploy:
provider: s3 provider: s3