Skip to content

Resolve ts build issue, use turbo builds #44

Resolve ts build issue, use turbo builds

Resolve ts build issue, use turbo builds #44

Workflow file for this run

name: deploy
on:
push:
branches: [main]
jobs:
launch-bot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Installing dependencies
run: npm ci
- name: Build
run: npm run build
- name: SSH Remote Commands
uses: appleboy/ssh-action@master
with:
HOST: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
KEY: ${{ secrets.KEY }}
script: |
cd brainbot
git pull
npm ci
npm run build
pm2 update