ci: add drsrel.github.io, fix bugs

This commit is contained in:
xia 2019-01-07 20:41:37 +08:00
parent 51136927dc
commit aba2c3e12f

View File

@ -9,6 +9,9 @@ script:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/getGHPage.sh; fi' - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/getGHPage.sh; fi'
- 'npm run build' - 'npm run build'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/pushGHPage.sh; fi' - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/pushGHPage.sh; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/getGHPage_drsrel.sh; fi'
- 'npm run build'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./deploy/pushGHPage.sh; fi'
# deploy: # deploy:
# provider: s3 # provider: s3
# access_key_id: ztDf0fCxr0eCgSIi # access_key_id: ztDf0fCxr0eCgSIi