mirror of
https://github.com/Faridik/Carolyn.git
synced 2026-07-08 05:11:52 +00:00
пробуем ssh ручками
This commit is contained in:
parent
18eb1d9479
commit
20631adb70
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user