This repository was archived by the owner on Dec 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-33
lines changed
Expand file tree Collapse file tree 1 file changed +3
-33
lines changed Original file line number Diff line number Diff line change 33 k8s : circleci/kubernetes@0.7.0
44 slack : circleci/slack@3.4.2
55commands :
6- git_checkout_from_cache :
7- description : " Git checkout and save cache"
8- steps :
9- - restore_cache :
10- name : Git restore cache
11- keys :
12- - source-v1-{{ .Branch }}-{{ .Revision }}
13- - source-v1-{{ .Branch }}-
14- - source-v1-
15- - run :
16- name : Fetch git tags
17- command : |
18- mkdir -p ~/.ssh
19- ssh-keyscan github.com >> ~/.ssh/known_hosts
20- # Fetch tags if git cache is present
21- if [ -e /home/circleci/project/.git ]
22- then
23- git fetch origin --tags
24- fi
25- - checkout
26- - run :
27- name : Compress git objects
28- command : git gc
29- - save_cache :
30- name : Git save cache
31- key : source-v{{ .Environment.CACHE_VERSION }}-{{ .Branch }}-{{ .Revision }}
32- paths :
33- - " .git"
34-
356 npm_install_from_cache :
367 description : " npm install and save cache"
378 steps :
@@ -58,7 +29,6 @@ commands:
5829 type : string
5930 default : " staging"
6031 steps :
61- - checkout
6232 - attach_workspace :
6333 at : _site
6434 - run :
@@ -143,15 +113,15 @@ jobs:
143113 docker :
144114 - image : circleci/node:16.13.1-stretch
145115 steps :
146- - git_checkout_from_cache
116+ - checkout
147117 - npm_install_from_cache
148118 - build
149119
150120 release_staging :
151121 docker :
152122 - image : circleci/node:16.13.1-stretch
153123 steps :
154- - git_checkout_from_cache
124+ - checkout
155125 - npm_install_from_cache
156126 - build
157127 - versioning
@@ -169,7 +139,7 @@ jobs:
169139 docker :
170140 - image : circleci/node:16.13.1-stretch
171141 steps :
172- - git_checkout_from_cache
142+ - checkout
173143 - npm_install_from_cache
174144 - build
175145 - versioning :
You can’t perform that action at this time.
0 commit comments