This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.DEPLOY_KEY_LOCATION }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.DEPLOY_KEY_LOCATION }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 644 ~/.ssh/id_ed25519
|
||||||
|
|
||||||
# Add the container host to known_hosts
|
# Add the container host to known_hosts
|
||||||
ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
|
ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user