diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index cab56d1..75d3f51 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -37,6 +37,7 @@ jobs: - run: | eval $(ssh-agent -s) ssh-add <(echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER") + mkdir -p ~/.ssh ssh-keyscan -H $MY_VPS_IP_ADDRESS >> ~/.ssh/known_hosts ssh $MY_VPS_USER@$MY_VPS_IP_ADDRESS cd $MY_VPS_PROJECT_PATH