From f82fcd2980cadf5a73c8b04fcf141717ff02da02 Mon Sep 17 00:00:00 2001 From: wendazhi Date: Tue, 10 Feb 2026 17:33:06 +0800 Subject: [PATCH] init221 --- .gitea/workflows/run.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/run.yml b/.gitea/workflows/run.yml index 06dd87a..7138160 100644 --- a/.gitea/workflows/run.yml +++ b/.gitea/workflows/run.yml @@ -9,7 +9,24 @@ jobs: build: runs-on: host steps: - - name: pwd - run: pwd + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'yarn' + + - name: Install dependencies + run: | + corepack enable + yarn install --frozen-lockfile + + - name: Build project + run: yarn build + - name: copy dist /data/wwwroot/weizhuozhongzhi-ai - run: cp -r ./dist/* /data/wwwroot/weizhuozhongzhi-ai/ \ No newline at end of file + run: | + mkdir -p /data/wwwroot/weizhuozhongzhi-ai + cp -r ./dist/* /data/wwwroot/weizhuozhongzhi-ai/ \ No newline at end of file