init221
run-app / build (push) Failing after 1m5s Details

This commit is contained in:
wendazhi 2026-02-10 17:33:06 +08:00
parent 94005d9961
commit f82fcd2980
1 changed files with 20 additions and 3 deletions

View File

@ -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/
run: |
mkdir -p /data/wwwroot/weizhuozhongzhi-ai
cp -r ./dist/* /data/wwwroot/weizhuozhongzhi-ai/