1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

Fix SSH key not importing

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-08-14 17:26:12 +05:00
parent 283d75c670
commit 5d2ddaf3e1
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -27,7 +27,7 @@ jobs:
- name: Setup SSH key - name: Setup SSH key
run: | run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa install -m 600 -D /dev/null ~/.ssh/id_rsa
echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
ssh-keyscan -H $SSH_HOST > ~/.ssh/known_hosts ssh-keyscan -H $SSH_HOST > ~/.ssh/known_hosts
shell: bash shell: bash
env: env: