Skip to content

ci: unify ci/publish/deploy into one 3-stage pipeline - #4

Merged
haitaopanhq merged 1 commit into
mainfrom
ci/unify-pipeline
Jun 28, 2026
Merged

ci: unify ci/publish/deploy into one 3-stage pipeline#4
haitaopanhq merged 1 commit into
mainfrom
ci/unify-pipeline

Conversation

@haitaopanhq

Copy link
Copy Markdown
Contributor

ci.yml + publish.yml + deploy.yml 合并为单一 pipeline.yml,三个串联 stage:

build ──▶ publish(npm) ──▶ deploy(SSH @openclaw.svc.plus)
  • build: install / test / typecheck / pack:check(PR 与 push 都跑)
  • publish: needs: build,仅 release / 版本 tag / 手动触发;npm publish(provenance)
  • deploy: needs: publish,版本经 publish job output 传递;去掉了原来跨 workflow 的 workflow_run 触发

Vault role / secrets / 远端安装+回滚逻辑保持不变。runtime-release.yaml 不受影响。

🤖 Generated with Claude Code

Merge ci.yml + publish.yml + deploy.yml into pipeline.yml with sequential
stages build -> publish(npm) -> deploy:
- build: install/test/typecheck/pack:check (runs on PR and push)
- publish: npm publish (needs build; release/tag/dispatch only)
- deploy: SSH install on ubuntu@openclaw.svc.plus (needs publish)

Version now flows from publish job output to deploy, removing the
workflow_run cross-workflow trigger. Vault roles/secrets unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@haitaopanhq
haitaopanhq merged commit e705c69 into main Jun 28, 2026
4 checks passed
@haitaopanhq
haitaopanhq deleted the ci/unify-pipeline branch June 28, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant