ci: switch to pre-steps/post-steps

This commit is contained in:
Derrick Hammer 2023-06-20 01:18:43 -04:00
parent 943b44aa0c
commit 1bb7db3386
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@ 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:
@ -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: ./