From 1e43bdf9ceb7ffc8462b32ccaf470d2a32e10576 Mon Sep 17 00:00:00 2001 From: Mifarse Date: Fri, 29 Oct 2021 22:23:43 +0300 Subject: [PATCH] on push main --- .github/workflows/release.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f96b6f6..f94be5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,10 +2,9 @@ name: deploy-to-Yandex-Cloud # Controls when the workflow will run on: - release: - types: - - published - # push: + push: + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -21,12 +20,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # # Runs a set of commands using the runners shell - # - name: Run a multi-line script - # run: | - # echo Add other actions to build, - # echo test, and deploy your project. + # Runs a set of commands using the runners shell + - name: Connect to Yandex Cloud SSH + run: | + ssh