Skip to content

ci: consolidate master deploys into a single workflow (4 builds → 1)#5008

Open
PascalThuet wants to merge 2 commits into
Dash-Industry-Forum:developmentfrom
PascalThuet:feature/ci-cd-p3-consolidate-deploys
Open

ci: consolidate master deploys into a single workflow (4 builds → 1)#5008
PascalThuet wants to merge 2 commits into
Dash-Industry-Forum:developmentfrom
PascalThuet:feature/ci-cd-p3-consolidate-deploys

Conversation

@PascalThuet
Copy link
Copy Markdown
Contributor

@PascalThuet PascalThuet commented Apr 3, 2026

Summary

Implements the deploy consolidation part of P3 from #5004.

  • replaces 3 separate master deploy workflows with a single deploy_master.yml
  • builds once, uploads artifacts once, then fans out 4 parallel deploy jobs
  • keeps the 4 historical deploy targets:
    • latest samples
    • latest build
    • v{version} samples
    • v{version} build
  • uses npm run build:dist in the shared build job so deploys avoid re-running unit tests and lint

Deleted:

  • deploy_latest.yml
  • deploy_build_latest.yml
  • deploy_build_latest_as_version_folder.yml

Unchanged:

  • deploy_nightly.yml
  • deploy_v4_latest.yml
  • deploy_v4_nightly.yml
  • reusable deploy.yml

Test plan

  • Push to master triggers deploy_master
  • The shared build job completes and uploads artifacts
  • All 4 deploy jobs download artifacts and deploy successfully
  • Versioned deploys use the version from package.json
  • Nightly and v4 deploys are unaffected
  • No stale workflow remains triggered on push to master

Refs #5004

🤖 Generated with Claude Code

PascalThuet and others added 2 commits April 3, 2026 16:04
Replace the three separate master deploy workflows (deploy_latest,
deploy_build_latest, deploy_build_latest_as_version_folder) with a
single deploy_master workflow that:

1. Builds once (npm run build + samples + jsdoc)
2. Uploads all artifacts
3. Fans out 4 parallel deploy jobs (samples latest, build latest,
   samples versioned, build versioned)

The reusable deploy.yml is left intact for nightly and v4 workflows.

Refs Dash-Industry-Forum#5004

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants