Skip to content

restrict the command for bot owners only and make it delete the webho… #39

restrict the command for bot owners only and make it delete the webho…

restrict the command for bot owners only and make it delete the webho… #39

Workflow file for this run

name: Deploying the latest version of the bot
on:
push:
branches: [main]
jobs:
ssh:
name: Update on VPS using SSH
runs-on: ubuntu-latest
steps:
- name: Run the update script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: echo ${{ secrets.PASSWORD }} | ./project-pretender/update.sh