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:
|
||||
# - 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
|
||||
uses: webfactory/ssh-agent@v0.5.3
|
||||
with:
|
||||
@ -28,13 +22,19 @@ jobs:
|
||||
whoami
|
||||
ls -laF
|
||||
|
||||
# - 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
|
||||
# ls -al
|
||||
- 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: Connect to Yandex Cloud
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
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