Deploy Artifacts Hub And Converter

loom-builderpromptmarkdown
Path: loom-builder/prompts/deploy-artifacts-hub-and-converter.mdRelative: prompts/deploy-artifacts-hub-and-converter.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 45Bytes: 1,153Imports: 0Exports: 0

Content Preview

  1. # Deploy: artifacts-hub + format-converter to Cloudflare Workers
  2. ## ROLE
  3. You are deploying two static sites to Cloudflare Workers.
  4. ## PREREQUISITES
  5. Run: `source /home/mikes/.env` to get CF credentials.
  6. IMPORTANT: For wrangler deploy, use OAuth (unset API tokens that lack Workers scope):
  7. ```bash
  8. env -u CLOUDFLARE_API_TOKEN -u CF_API_TOKEN wrangler deploy
  9. ```
  10. ## DEPLOY 1: artifacts-hub
  11. ```bash
  12. cd /home/mikes/artifacts-hub-astro/artifacts-hub
  13. pnpm install
  14. pnpm run build
  15. env -u CLOUDFLARE_API_TO