From 57febc28109f0511531129b4d0f872c2b7d46b3b Mon Sep 17 00:00:00 2001 From: Jake Heath Date: Thu, 11 May 2023 14:00:15 -0700 Subject: [PATCH] fix: ssh dir not always there --- testdata/github_actions/.github/workflows/fogg_ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testdata/github_actions/.github/workflows/fogg_ci.yml b/testdata/github_actions/.github/workflows/fogg_ci.yml index ea72f6be2..de53d63c6 100644 --- a/testdata/github_actions/.github/workflows/fogg_ci.yml +++ b/testdata/github_actions/.github/workflows/fogg_ci.yml @@ -28,7 +28,9 @@ jobs: path: ~/.fogg/cache key: fogg-cache-${{ hashFiles('**/.fogg-version') }} - run: make setup - - run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts + - run: | + mkdir -p ~/.ssh/ + ssh-keyscan -H github.com >> ~/.ssh/known_hosts - run: .fogg/bin/fogg apply env: FOGG_GITHUBAPPTOKEN: ${{ steps.generate_token.outputs.token }}