diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0a7822a..0e9fd03 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: + - name: Connect to Yandex Cloud on my own + - run: set -eu + - run: mkdir "$HOME/.ssh" + - run: echo "${{ secrets.key }}" > "$HOME/.ssh/key" + - run: chmod 600 "$HOME/.ssh/key" + - run: ssh -i $HOME/.ssh/key carolyn@{{secrets.HOST}} -o StrictHostKeyChecking=no 'ls -al' + - name: Connect to Yandex Cloud uses: appleboy/ssh-action@master with: