mirror of
https://github.com/Faridik/Carolyn.git
synced 2026-07-08 05:11:52 +00:00
ls следующей командой
This commit is contained in:
parent
c8fa201b5b
commit
c0164cac82
18
.github/workflows/deploy.yml
vendored
18
.github/workflows/deploy.yml
vendored
@ -18,23 +18,11 @@ jobs:
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.KEY }}
|
||||
|
||||
- run: |
|
||||
whoami
|
||||
ls -laF
|
||||
|
||||
- name: Connect to Yandex Cloud on my own
|
||||
- name: Set up keys for Yandex Cloud
|
||||
run: |
|
||||
echo "${{ secrets.key }}" > "$HOME/key"
|
||||
chmod 600 "$HOME/key"
|
||||
ssh -i $HOME/key carolyn@${{ secrets.HOST }} -o StrictHostKeyChecking=no 'ls -al'
|
||||
|
||||
- name: Connect to Yandex Cloud
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
whoami
|
||||
- name: Connect to the Yandex Cloud
|
||||
ssh -i $HOME/key carolyn@${{ secrets.HOST }} -o StrictHostKeyChecking=no
|
||||
ls -laF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user