From e81e2e320686df55dedabf08953ad8922abec6ca Mon Sep 17 00:00:00 2001 From: Mifarse Date: Sat, 30 Oct 2021 02:02:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0e9fd03..79328be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,11 +14,12 @@ 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' + - run: | + set -eu + mkdir "$HOME/.ssh" + echo "${{ secrets.key }}" > "$HOME/.ssh/key" + chmod 600 "$HOME/.ssh/key" + ssh -i $HOME/.ssh/key carolyn@{{secrets.HOST}} -o StrictHostKeyChecking=no 'ls -al' - name: Connect to Yandex Cloud uses: appleboy/ssh-action@master