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

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 represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Connect to Yandex Cloud
- uses: actions/checkout@v2 uses: appleboy/ssh-action@master
with:
# Runs a set of commands using the runners shell host: ${{ secrets.HOST }}
- name: Connect to Yandex Cloud SSH username: ${{ secrets.USERNAME }}
run: | key: ${{ secrets.KEY }}
ls -laF port: ${{ secrets.PORT }}
script: |
whoami
ls -al