mirror of
https://github.com/Faridik/Carolyn.git
synced 2026-07-08 13:21:53 +00:00
починил ран команду
This commit is contained in:
parent
20631adb70
commit
e81e2e3206
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
@ -14,11 +14,12 @@ jobs:
|
|||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- name: Connect to Yandex Cloud on my own
|
- name: Connect to Yandex Cloud on my own
|
||||||
- run: set -eu
|
- run: |
|
||||||
- run: mkdir "$HOME/.ssh"
|
set -eu
|
||||||
- run: echo "${{ secrets.key }}" > "$HOME/.ssh/key"
|
mkdir "$HOME/.ssh"
|
||||||
- run: chmod 600 "$HOME/.ssh/key"
|
echo "${{ secrets.key }}" > "$HOME/.ssh/key"
|
||||||
- run: ssh -i $HOME/.ssh/key carolyn@{{secrets.HOST}} -o StrictHostKeyChecking=no 'ls -al'
|
chmod 600 "$HOME/.ssh/key"
|
||||||
|
ssh -i $HOME/.ssh/key carolyn@{{secrets.HOST}} -o StrictHostKeyChecking=no 'ls -al'
|
||||||
|
|
||||||
- name: Connect to Yandex Cloud
|
- name: Connect to Yandex Cloud
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user