From 2e32996825c12eb8d5229e8dc4beacd1985ae742 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 9 Jul 2018 00:15:39 +0800 Subject: [PATCH] update circle config --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 52e7c49..3ac2f3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: