mirror of
https://github.com/Faridik/Carolyn.git
synced 2026-07-08 13:21:53 +00:00
d
This commit is contained in:
parent
e3efed2f4f
commit
c8fa201b5b
32
.github/workflows/deploy.yml
vendored
32
.github/workflows/deploy.yml
vendored
@ -13,12 +13,6 @@ 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
|
|
||||||
# run: |
|
|
||||||
# echo "${{ secrets.key }}" > "$HOME/key"
|
|
||||||
# chmod 600 "$HOME/key"
|
|
||||||
# ssh -i $HOME/key carolyn@${{ secrets.HOST }} -o StrictHostKeyChecking=no 'ls -al'
|
|
||||||
|
|
||||||
- name: webfactory/ssh-agent
|
- name: webfactory/ssh-agent
|
||||||
uses: webfactory/ssh-agent@v0.5.3
|
uses: webfactory/ssh-agent@v0.5.3
|
||||||
with:
|
with:
|
||||||
@ -28,13 +22,19 @@ jobs:
|
|||||||
whoami
|
whoami
|
||||||
ls -laF
|
ls -laF
|
||||||
|
|
||||||
# - name: Connect to Yandex Cloud
|
- name: Connect to Yandex Cloud on my own
|
||||||
# uses: appleboy/ssh-action@master
|
run: |
|
||||||
# with:
|
echo "${{ secrets.key }}" > "$HOME/key"
|
||||||
# host: ${{ secrets.HOST }}
|
chmod 600 "$HOME/key"
|
||||||
# username: ${{ secrets.USERNAME }}
|
ssh -i $HOME/key carolyn@${{ secrets.HOST }} -o StrictHostKeyChecking=no 'ls -al'
|
||||||
# key: ${{ secrets.KEY }}
|
|
||||||
# port: ${{ secrets.PORT }}
|
- name: Connect to Yandex Cloud
|
||||||
# script: |
|
uses: appleboy/ssh-action@master
|
||||||
# whoami
|
with:
|
||||||
# ls -al
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.KEY }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script: |
|
||||||
|
whoami
|
||||||
|
ls -laF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user