This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 业务 CI:触发公共工作流;
|
||||
# 业务 CI:调用 platform/workflow 可复用工作流(固定 tag 1.0,升级时改 @ 后缀并同步公共仓打 tag)
|
||||
|
||||
name: CI
|
||||
|
||||
@@ -14,9 +14,11 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: platform/workflow/.gitea/workflows/web-spa-deploy.yml@main
|
||||
uses: platform/workflow/.gitea/workflows/web-spa-deploy.yml@1.0
|
||||
with:
|
||||
node_version: "22.14.0" # Node 完整 semver
|
||||
yarn_version: "1.22.22" # Yarn 1
|
||||
project_dir: "chat-one-web" # 远端目录 = $DEPLOY_PATH/本字段
|
||||
secrets: inherit # 传入 SSH_PRIVATE_KEY
|
||||
node_version: "22.14.0"
|
||||
yarn_version: "1.22.22"
|
||||
project_dir: "chat-one-web"
|
||||
build_script: "yarn build"
|
||||
build_output_dir: "dist"
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user