From ec67bc6aceef9c1689fcb28e62630d3d464193f9 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Tue, 30 May 2023 15:10:31 +0200 Subject: [PATCH] chore: only create .ssh directory if necessary --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a125e7..002e777 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,7 +101,7 @@ jobs: - run: name: Add github.com to known_hosts # Because without this sometime you get errors connecting to GitHub (for writing the tag) command: | - mkdir ~/.ssh + mkdir -p ~/.ssh ssh-keyscan github.com > ~/.ssh/known_hosts - semantic_release_dry_run - run: