mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 08:51:12 +03:00
ssh-keyscan is a dumb command (#338)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
8a42ecd1ab
commit
bfee889149
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-push.yml
vendored
4
.github/workflows/build-push.yml
vendored
|
@ -5,7 +5,7 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master", "deploy-test" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload-image:
|
upload-image:
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Generate SSH known hosts file
|
- name: Generate SSH known hosts file
|
||||||
run: |
|
run: |
|
||||||
ssh-keyscan -H $SSH_HOST -p $SSH_PORT > ~/.ssh/known_hosts
|
ssh-keyscan -H -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
SSH_HOST: ${{secrets.SSH_HOST}}
|
SSH_HOST: ${{secrets.SSH_HOST}}
|
||||||
|
|
Loading…
Reference in a new issue