ci: switch to pre-steps/post-steps
This commit is contained in:
parent
943b44aa0c
commit
1bb7db3386
|
@ -9,11 +9,11 @@ workflows:
|
||||||
- node/run:
|
- node/run:
|
||||||
name: build
|
name: build
|
||||||
npm-run: build
|
npm-run: build
|
||||||
setup:
|
post-steps:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
paths:
|
paths:
|
||||||
- lib/
|
- lib/
|
||||||
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
|
@ -35,11 +35,12 @@ workflows:
|
||||||
|
|
||||||
context:
|
context:
|
||||||
- publish
|
- publish
|
||||||
|
pre-steps:
|
||||||
|
- attach_workspace:
|
||||||
|
at: ./
|
||||||
setup:
|
setup:
|
||||||
- add_ssh_keys:
|
- add_ssh_keys:
|
||||||
fingerprints:
|
fingerprints:
|
||||||
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
||||||
- ssh/ssh-add-host:
|
- ssh/ssh-add-host:
|
||||||
host_url: GITEA_HOST
|
host_url: GITEA_HOST
|
||||||
- attach_workspace:
|
|
||||||
at: ./
|
|
||||||
|
|
Loading…
Reference in New Issue