Skip to Content

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_KEY

Deploy

Run:

myco app deploy

This command:

  1. Builds your frontend (npm run build)
  2. Deploys both the static assets and the Worker to Cloudflare
  3. 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

FlagDescription
--force, -fForce deploy even if no changes detected
--skip-buildSkip 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 unchanged

Alternative: build and deploy separately

npm run build # Build only npm run deploy # Deploy only (via wrangler) npm run publish # Build + deploy

Verify

After deploying, check your app details:

myco app get

This shows the app status, URL, deployed entities, and skills.

Next step