From 20631adb70ebc107f9d7f27eaf4e5e9fce377cc5 Mon Sep 17 00:00:00 2001 From: Mifarse Date: Sat, 30 Oct 2021 02:00:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B1=D1=83=D0=B5=D0=BC=20ss?= =?UTF-8?q?h=20=D1=80=D1=83=D1=87=D0=BA=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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: