Skip to content

fix: interaction sync and project redirect #18

fix: interaction sync and project redirect

fix: interaction sync and project redirect #18

Workflow file for this run

name: Deploy to Server
on:
workflow_dispatch:
push:
branches: ["master"]
paths:
- "web/src/**"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
- name: Install dependencies and build
run: |
cd web
npm install
npm run build
- name: Copy via SSH
uses: appleboy/scp-action@master
with:
host: ${{secrets.SERVER_HOST}}
username: ${{secrets.SERVER_USER}}
password: ${{secrets.SERVER_PASSWORD}}
key: ${{secrets.SSH_PRIVATE_KEY}}
port: 22
source: "web/"
target: ${{secrets.SERVER_PATH}}