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
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue