diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index 3c7cffd..cfbb23a 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -27,6 +27,7 @@ jobs: - run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER" - run: echo "$DAY_OF_WEEK" + - run: ssh-agent -s - run: eval $(ssh-agent -s) - run: ssh-add <(echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER") - run: ssh-keyscan -H $MY_VPS_IP_ADDRESS >> ~/.ssh/known_hosts