diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index 502a082..81b1879 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -20,7 +20,7 @@ jobs: ls ${{ github.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." - run: eval $(ssh-agent -s) - - run: ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY_LOCALCOMPUTER }}") + - run: bash -c 'ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY_LOCALCOMPUTER }}")' - run: ssh-keyscan -H ${{ secrets.MY_VPS_IP_ADDRESS }} >> ~/.ssh/known_hosts - run: ssh ${{ secrets.MY_VPS_USER }}@${{ secrets.MY_VPS_IP_ADDRESS }} - run: cd ${{ secrets.MY_VPS_PROJECT_PATH }}