Skip to content

Commit

Permalink
add: сreate main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
A-V-tor authored Aug 15, 2023
1 parent cb69412 commit 00134be
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: mybot
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Install SSH Key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd Bot-secretar
chmod +x start.sh
./start.sh

0 comments on commit 00134be

Please sign in to comment.