Skip to content

chore(ci): align workflow frontend-copy with Makefile frontend-build#474

Merged
Dumbris merged 1 commit into
mainfrom
chore/align-workflow-frontend-copy-with-makefile
May 17, 2026
Merged

chore(ci): align workflow frontend-copy with Makefile frontend-build#474
Dumbris merged 1 commit into
mainfrom
chore/align-workflow-frontend-copy-with-makefile

Conversation

@Dumbris
Copy link
Copy Markdown
Member

@Dumbris Dumbris commented May 17, 2026

Summary

Follow-up to #473. That PR changed the Makefile frontend-build target to:

mkdir -p web/frontend/dist
cp -r frontend/dist/. web/frontend/dist/
touch web/frontend/dist/.gitkeep

but left the Copy frontend dist steps in release.yml and pr-build.yml on the older form:

mkdir -p web/frontend
cp -r frontend/dist web/frontend/

Both forms place a real index.html under web/frontend/dist/, so release artifacts (Homebrew, Docker, .deb, DMG, etc.) were never broken — the divergence was purely a maintenance/consistency hazard, and the workflows did not recreate the tracked .gitkeep. This change makes the two CI workflows use the exact same canonical form as the Makefile.

Changes

  • .github/workflows/release.yml — copy step now cp -r frontend/dist/. web/frontend/dist/ + touch web/frontend/dist/.gitkeep
  • .github/workflows/pr-build.yml — same

Risk

None functional. The embed input is identical (real Vite bundle under web/frontend/dist/); only the copy form and an extra harmless .gitkeep touch change. YAML validated.

Merge order

Best merged after #473 (the .gitkeep is meaningless until #473 tracks it), but functionally safe in either order since web/frontend/ is gitignored on main today.

🤖 Generated with Claude Code

PR #473 changed the Makefile `frontend-build` target to copy into
`web/frontend/dist/` and `touch web/frontend/dist/.gitkeep` (so the
`//go:embed all:frontend/dist` directive always has something to embed).
The release.yml and pr-build.yml "Copy frontend dist" steps still used
the older `cp -r frontend/dist web/frontend/` form.

Both forms place a real index.html under web/frontend/dist/ so release
artifacts were never broken, but the divergent forms are confusing and
the workflow steps did not recreate the tracked .gitkeep. This aligns
both workflows with the Makefile so there is a single canonical form.

Follow-up to #473. No functional change to release/CI artifacts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 59457b0
Status: ✅  Deploy successful!
Preview URL: https://bcf31fa7.mcpproxy-docs.pages.dev
Branch Preview URL: https://chore-align-workflow-fronten.mcpproxy-docs.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: chore/align-workflow-frontend-copy-with-makefile

Available Artifacts

  • archive-darwin-amd64 (26 MB)
  • archive-darwin-arm64 (23 MB)
  • archive-linux-amd64 (15 MB)
  • archive-linux-arm64 (13 MB)
  • archive-windows-amd64 (26 MB)
  • archive-windows-arm64 (23 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (20 MB)
  • installer-dmg-darwin-arm64 (18 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 25983030215 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris Dumbris merged commit b1faef4 into main May 17, 2026
23 checks passed
@Dumbris Dumbris deleted the chore/align-workflow-frontend-copy-with-makefile branch May 17, 2026 06:26
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.

2 participants