Skip to content

Fix bug in chat

Fix bug in chat #193

Workflow file for this run

name: React CI/CD on server
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: npm install
run: |
npm install
echo "Dependencies installed successfully"
- name: npm run build
run: |
npm run build
echo "Build completed successfully"
- name: Deploy to Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "build/*"
target: "${{ secrets.TARGET }}"