Пробуем подключиться на сервер

This commit is contained in:
Serafim Urukov 2021-10-29 22:58:11 +03:00
parent d5142e067d
commit 18eb1d9479

View File

@ -13,10 +13,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a set of commands using the runners shell
- name: Connect to Yandex Cloud SSH
run: |
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