пробуем ssh ручками

This commit is contained in:
Serafim Urukov 2021-10-30 02:00:34 +03:00
parent 18eb1d9479
commit 20631adb70

View File

@ -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: