Skip to content

feat: add error handling and reaction for message action execution #231

feat: add error handling and reaction for message action execution

feat: add error handling and reaction for message action execution #231

Workflow file for this run

name: deploy
on:
push:
paths:
- 'libs/**'
- 'src/**'
- '.github/workflows/deploy.yaml'
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:githubdeploy
- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOSTNAME }}
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script_stop: true
script: |
cd ${{ secrets.SERVER_CWD }}
git pull origin main
/root/.bun/bin/bun i --no-save --frozen-lockfile
/root/.bun/bin/bunx prisma db push
/root/.bun/bin/bun run build
supervisorctl restart personal-whatsapp-bot