Skip to content

fix: python-publish.yml #6

fix: python-publish.yml

fix: python-publish.yml #6

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
git pull
chmod +x start.sh
./start.sh