You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automate the hosted UI (app.propr.dev) deployment for releases. Check current upstream main first. #3408
Automate the hosted UI (app.propr.dev) deployment for releases. Check current upstream main first.
Today app.propr.dev is the Cloudflare Worker propr-hosted-ui (wrangler.hosted-ui.toml: static assets from ./propr-ui/dist, custom domain app.propr.dev, SPA not-found handling). It is only deployed manually with npm run deploy:hosted-ui (npm run build -w propr-ui && npx wrangler deploy --config wrangler.hosted-ui.toml) from a maintainer machine, so the v0.9.0 release left it on 0.8.15 until someone deployed by hand.
Add a release deployment for it:
A job in .github/workflows/docker-images.yml that runs after publish-github-release succeeds, for both tag pushes and the manual workflow_dispatch release path; or a separate workflow triggered from it with equivalent gating. It checks out the exact release ref, does a locked install, builds propr-ui the same way deploy:hosted-ui does, and runs wrangler deploy --config wrangler.hosted-ui.toml with CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
Run it in a protected GitHub environment, hosted-ui-production, holding those two secrets, so the token is only available to this job and never to PR or build jobs. If the environment or secrets are missing, the job must skip with a clear notice rather than fail the whole release, because the release artifacts are already published at that point.
Keep npm run deploy:hosted-ui for manual use. Document in docs/docs/operations/ (the release or deployment docs) how to create the scoped Cloudflare API token (Account > Workers Scripts: Edit and the minimal permissions wrangler needs for a custom-domain Worker deploy; no zone-wide edit unless strictly needed) and how to add it to the environment.
Add workflow contract tests in the repo's existing style (job gated on release success, environment-scoped secrets, exact ref, no secrets in other jobs), plus actionlint and zizmor if the repo uses them, and an [Unreleased] CHANGELOG entry.
One focused PR ready for review. Do not auto-merge, tag, publish or deploy.
Activity
propr-dev commentedon Oct 31, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53408/claude-opus-5-5-automate-the-hosted-ui-ap-20261031-2319-309mainissue-3408-20261031-2319-claude-opus-5-5-309🔍 Track Task Execution