Skip to content

Merge branch 'main' of https://github.com/Faithful-Resource-Pack/Comp… #1129

Merge branch 'main' of https://github.com/Faithful-Resource-Pack/Comp…

Merge branch 'main' of https://github.com/Faithful-Resource-Pack/Comp… #1129

Workflow file for this run

name: Deploy
on:
push:
branches: [complibot-v4]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Executing remote command
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSH }}
script: |
cd ./CompliBot-Beta
git checkout complibot-v4
git stash
git pull
pnpm install
pm2 delete "complibot-beta"
pm2 start "pnpm start" --name "complibot-beta"