1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09:00 +03:00

ssh-keyscan is a dumb command (#338)

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2024-10-28 10:04:08 +05:00 committed by GitHub
parent 8a42ecd1ab
commit bfee889149
Signed by: GitHub
GPG key ID: B5690EEEBB952194

View file

@ -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}}