diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-03-14 10:31:52 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-03-14 10:31:52 +0100 |
| commit | 64874cd871009ee17bac3784b83ab5e3371f8fa1 (patch) | |
| tree | 8a50d9f6e4e73ccefc5b5266a62e89326bd13ddb /.github/workflows/production.yml | |
| parent | a78af566d90491e4cfebb8dfffed8770c95375f3 (diff) | |
Fix SSH dir not existing
Diffstat (limited to '.github/workflows/production.yml')
| -rw-r--r-- | .github/workflows/production.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 7e93cd1..b0da2e8 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -54,6 +54,7 @@ jobs: done - name: Add SSH Key run: | + mkdir -p ~/.ssh echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan -H ${{ secrets.TARGET_HOST }} >> ~/.ssh/known_hosts |
