From 1bb7db33860b9dfa9f9a9d497027df1972bdd54d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:18:43 -0400 Subject: [PATCH] ci: switch to pre-steps/post-steps --- .circleci/config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6eb8185..28b651a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,11 +9,11 @@ workflows: - node/run: name: build npm-run: build - setup: - - persist_to_workspace: - root: . - paths: - - lib/ + post-steps: + - persist_to_workspace: + root: . + paths: + - lib/ filters: branches: @@ -35,11 +35,12 @@ workflows: context: - publish + pre-steps: + - attach_workspace: + at: ./ setup: - add_ssh_keys: fingerprints: - "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9" - ssh/ssh-add-host: host_url: GITEA_HOST - - attach_workspace: - at: ./