mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-14 02:10:31 +08:00
Add timezone in travis ci
This commit is contained in:
@@ -5,6 +5,11 @@ branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
before_install:
|
||||
- export TZ=Asia/Shanghai
|
||||
|
||||
script: npm run build; [ -d dist/public ]
|
||||
|
||||
before_deploy:
|
||||
# Add tag if missing
|
||||
- if [ -z "$TRAVIS_TAG" ]; then export TRAVIS_TAG=$(date +'%Y%m%d'); git tag -f $TRAVIS_TAG; fi
|
||||
@@ -14,8 +19,6 @@ before_deploy:
|
||||
- cp INSTALL.md dist
|
||||
- zip -r dist.zip dist
|
||||
|
||||
script: npm run build; [ -d dist/public ]
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
|
||||
Reference in New Issue
Block a user