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