mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:20:47 +00:00
add ssh-keyscan to github deploy workflow
This commit is contained in:
@@ -64,6 +64,9 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
|
||||
ssh-keyscan -H $SERVER_HOST_STAGING >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -H $SERVER_HOST_US >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -H $SERVER_HOST_EU >> ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
- name: Deploy
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user