init1
Production deploy / build (push) Successful in 1m36s Details

This commit is contained in:
wendazhi 2026-02-11 17:26:25 +08:00
parent 7dbe3352be
commit 33cb73f5d6
1 changed files with 9 additions and 1 deletions

View File

@ -27,10 +27,18 @@ jobs:
rm -rf repo rm -rf repo
git clone "${REPO_URL}" repo git clone "${REPO_URL}" repo
- name: Copy dist to /data/wildgrowth/weizhuozhongzhi-ai - name: Copy backend to /data/wildgrowth/weizhuozhongzhi-ai
run: | run: |
set -e set -e
cd repo cd repo
mkdir -p /data/wildgrowth/weizhuozhongzhi-ai mkdir -p /data/wildgrowth/weizhuozhongzhi-ai
rm -rf /data/wildgrowth/weizhuozhongzhi-ai/* rm -rf /data/wildgrowth/weizhuozhongzhi-ai/*
cp -r backend/* /data/wildgrowth/weizhuozhongzhi-ai/ cp -r backend/* /data/wildgrowth/weizhuozhongzhi-ai/
- name: npm install and prisma
run: |
set -e
cd /data/wildgrowth/weizhuozhongzhi-ai
npm install
npm run prisma:generate
npm run prisma:migrate:deploy