19
19
20
20
heroku :
circleci/[email protected]
21
21
browser-tools :
circleci/[email protected]
22
+
22
23
23
24
executors :
24
25
slds-executor :
@@ -194,17 +195,6 @@ commands:
194
195
fi
195
196
fi
196
197
197
- install-gh-cli :
198
- description : ' Install Github CLI'
199
- steps :
200
- - run :
201
- name : Install Github CLI
202
- command : |
203
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
204
- sudo apt-add-repository https://cli.github.com/packages
205
- sudo apt update
206
- sudo apt install gh
207
-
208
198
launch-static-storybook :
209
199
description : ' Launch local static Storybook server'
210
200
steps :
@@ -231,7 +221,7 @@ jobs:
231
221
steps :
232
222
- checkout
233
223
- run : mkdir -p workspace
234
- - install-gh-cli
224
+ - gh/install
235
225
- get-pr-number
236
226
237
227
- run :
@@ -350,7 +340,7 @@ jobs:
350
340
- attach_workspace :
351
341
at : workspace
352
342
353
- - install-gh-cli
343
+ - gh/install
354
344
355
345
- run :
356
346
name : ' Github: attach artifact to release'
@@ -452,7 +442,7 @@ jobs:
452
442
heroku buildpacks -a ${PUBLISH_STORYBOOK_TO} | grep "https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse" || heroku buildpacks:set https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse -a ${PUBLISH_STORYBOOK_TO}
453
443
heroku builds:create --source-tar workspace/storybook.tar.gz -a ${PUBLISH_STORYBOOK_TO}
454
444
455
- - install-gh-cli
445
+ - gh/install
456
446
- run :
457
447
name : Set Github deployments to "success"
458
448
command : |
@@ -520,7 +510,7 @@ jobs:
520
510
heroku buildpacks -a ${HEROKU_APP_NAME} | grep "https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse" || heroku buildpacks:set https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse -a ${HEROKU_APP_NAME}
521
511
heroku builds:create --source-tar site-next.tar.gz -a ${HEROKU_APP_NAME}
522
512
523
- - install-gh-cli
513
+ - gh/install
524
514
- run :
525
515
name : Set Github deployments to "success"
526
516
command : |
@@ -537,7 +527,7 @@ jobs:
537
527
steps :
538
528
- checkout
539
529
- run : mkdir -p workspace
540
- - install-gh-cli
530
+ - gh/install
541
531
- get-pr-number
542
532
543
533
- persist_to_workspace :
0 commit comments