File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ docker :
5+ - image : circleci/node:8
6+ steps :
7+ - checkout
8+ - restore_cache :
9+ keys :
10+ - v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum "package.json" }}
11+ - run : npm i
12+ - save_cache :
13+ paths :
14+ - node_modules
15+ key : v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum "package.json" }}
16+ - run : npm run build
17+ - store_artifacts :
18+ path : build
19+ destination : preview
20+ - run : ' npx status-back -s -c circleci/preview -r nodejsjp/nodejsjp.github.com "preview build success!" "https://${CIRCLE_BUILD_NUM}-856151-gh.circle-artifacts.com/0/preview/index.html"'
21+ deploy :
22+ docker :
23+ - image : circleci/node:8
24+ steps :
25+ - run : ./update.sh
26+ workflows :
27+ version : 2
28+ build-deploy :
29+ jobs :
30+ - build
31+ - deploy :
32+ requires :
33+ - build
34+ filters :
35+ branches :
36+ only : source
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4040 },
4141 "devDependencies" : {
4242 "branch-pipe" : " ^1.0.1" ,
43- "rimraf" : " ^2.5.4"
43+ "rimraf" : " ^2.5.4" ,
44+ "status-back" : " ^1.1.0"
4445 }
4546}
You can’t perform that action at this time.
0 commit comments