Deploy
Set up secrets
MYCO_APP_KEY is already in your wrangler.jsonc under vars and deploys automatically — you don’t need to set it as a secret.
For actual secrets (API keys that shouldn’t be in source control), use wrangler secret put:
npx wrangler secret put OPENAI_API_KEYDeploy
Run:
myco app deployThis command:
- Builds your frontend (
npm run build) - Deploys both the static assets and the Worker to Cloudflare
- Deploys your skills (if you have a
skills/directory)
Your app is now live at <app-name>.myco.com. The CLI prints the URL after deployment.
Flags
| Flag | Description |
|---|---|
--force, -f | Force deploy even if no changes detected |
--skip-build | Skip the npm run build step |
Redeploying
Just run myco app deploy again. Skills use content hashing — unchanged skills are skipped automatically.
Skills: 1 created, 1 updated, 2 unchangedAlternative: build and deploy separately
npm run build # Build only
npm run deploy # Deploy only (via wrangler)
npm run publish # Build + deployVerify
After deploying, check your app details:
myco app getThis shows the app status, URL, deployed entities, and skills.