Files
chat-one-web/.gitea/workflows/ci.yml
alboped 7cad29aac2
All checks were successful
CI / build (push) Successful in 1m50s
ci: 修改公共ci脚本目录;
2026-04-12 01:39:51 +08:00

28 lines
820 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 公共工作流仓库platform/workflow
# Gitea 要求 uses 格式:{owner}/{repo}/.gitea/workflows/{文件名}@{ref}
# 公共仓内请将工作流放在:.gitea/workflows/web-spa-deploy.yml若当前仅在 ci/ 下,请复制或移动到该路径)
#
# 本仓库「工作流 → 变量」DEPLOY_PATH、DEPLOY_HOST、DEPLOY_USER
# 本仓库「工作流 → 密钥」SSH_PRIVATE_KEYsecrets: inherit
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
uses: platform/workflow/.gitea/workflows/web-spa-deploy.yml@main
with:
node_version: "22.14.0"
yarn_version: "1.22.22"
project_dir: "chat-one-web"
secrets: inherit