init1
Production deploy / build (push) Successful in 1m36s
Details
Production deploy / build (push) Successful in 1m36s
Details
This commit is contained in:
parent
7dbe3352be
commit
33cb73f5d6
|
|
@ -27,10 +27,18 @@ jobs:
|
|||
rm -rf repo
|
||||
git clone "${REPO_URL}" repo
|
||||
|
||||
- name: Copy dist to /data/wildgrowth/weizhuozhongzhi-ai
|
||||
- name: Copy backend to /data/wildgrowth/weizhuozhongzhi-ai
|
||||
run: |
|
||||
set -e
|
||||
cd repo
|
||||
mkdir -p /data/wildgrowth/weizhuozhongzhi-ai
|
||||
rm -rf /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
|
||||
|
|
|
|||
Loading…
Reference in New Issue