on push main

This commit is contained in:
Serafim Urukov 2021-10-29 22:23:43 +03:00
parent bbfac2eff3
commit 1e43bdf9ce

View File

@ -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