update circle config

This commit is contained in:
MaysWind 2018-07-09 00:15:39 +08:00
parent 4929110c4a
commit 2e32996825

View file

@ -3,6 +3,7 @@ version: 2
defaults: &defaults
docker:
- image: circleci/node:6.14-browsers
working_directory: ~/ariang
jobs:
build:
@ -14,9 +15,15 @@ jobs:
- run: sudo npm install -g gulp
- run: bower install
- run: gulp clean build
- save_cache:
key: v1-ariang-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/ariang
publish_daily_build:
<<: *defaults
steps:
- restore_cache:
key: v1-ariang-{{ .Environment.CIRCLE_SHA1 }}
- run: bash ./scripts/publish_dailybuild.sh
workflows: