mirror of
https://github.com/Faridik/Carolyn.git
synced 2026-07-08 05:11:52 +00:00
пробуем вебфактори
This commit is contained in:
parent
3c2a453d3d
commit
b2358f521f
37
.github/workflows/deploy.yml
vendored
37
.github/workflows/deploy.yml
vendored
@ -13,19 +13,28 @@ 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: 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
|
||||
- name: webfactory/ssh-agent
|
||||
uses: webfactory/ssh-agent@v0.5.3
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
whoami
|
||||
ls -al
|
||||
ssh-private-key: ${{ secrets.KEY }}
|
||||
|
||||
- run: |
|
||||
whois
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user