mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 09:09:00 +03:00
Fix wrong private key file name (#330)
The key used for deploy is Ed25519, not RSA Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
0fc53990b9
commit
086cb672f0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-push.yml
vendored
4
.github/workflows/build-push.yml
vendored
|
@ -27,8 +27,8 @@ 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_ed25519
|
||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||||
ssh-keyscan -H $SSH_HOST > ~/.ssh/known_hosts
|
ssh-keyscan -H $SSH_HOST > ~/.ssh/known_hosts
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue