feat(deploy): add CROMERO dapp Phoenix deploy target #12
Reference in New Issue
Block a user
Delete Branch "devin/1777157605-cromero-deploy-target"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wires the new d-bis/CROMERO dapp (Vite + thirdweb v5, two-chain asset transfer flow) into the existing Phoenix Deploy API pipeline so pushes to
mainon that repo land athttps://d-bis.org/ecosystem/cromero/.Companion to
d-bis/CROMERO#1.Changes
phoenix-deploy-api/deploy-targets.json— registerd-bis/CROMERO :: defaultrunningscripts/deployment/phoenix-deploy-cromero-from-workspace.sh, with a healthcheck against the public URL.scripts/deployment/phoenix-deploy-cromero-from-workspace.sh— build the staged workspace (npm ci && npm run build) and rsyncdist/to the NPMplus host (${IP_NPMPLUS:-192.168.11.167})/var/www/ecosystem/cromero/. Best-effort nginx reload (host nginx + npmplus container).--dry-runsupported. Build env (VITE_THIRDWEB_CLIENT_ID,VITE_PROJECT_WALLET_ADDRESS, etc.) is read from the Phoenix host environment (set via repo Actions secrets/vars on the CROMERO repo).docs/03-deployment/CROMERO_DAPP_DEPLOYMENT.md— pipeline overview, the one-time nginx location block that must be installed on the NPMplus host, the required Actions secrets/vars, manual-trigger and dry-run recipes.Required nginx location block (one-time, install on NPMplus host)
This script does not modify nginx config — it only lands static files. Install the block once via NPMplus advanced-config (or directly in the d-bis.org server block), then redeploys are static-only.
Verification
python3 -c "import json; json.load(open(...deploy-targets.json))"parses (15 targets, was 14).bash -n scripts/deployment/phoenix-deploy-cromero-from-workspace.shclean.--dry-run/DRY_RUN=1.Claude encountered an error —— View job
I'll analyze this and get back to you.