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