Deploy Artifacts Hub And Converter
Path:
loom-builder/prompts/deploy-artifacts-hub-and-converter.mdRelative: prompts/deploy-artifacts-hub-and-converter.mdSubproject: loom-builderCategory: dispatch-promptsLines: 45Bytes: 1,153Imports: 0Exports: 0
Content Preview
- # Deploy: artifacts-hub + format-converter to Cloudflare Workers
- ## ROLE
- You are deploying two static sites to Cloudflare Workers.
- ## PREREQUISITES
- Run: `source /home/mikes/.env` to get CF credentials.
- IMPORTANT: For wrangler deploy, use OAuth (unset API tokens that lack Workers scope):
- ```bash
- env -u CLOUDFLARE_API_TOKEN -u CF_API_TOKEN wrangler deploy
- ```
- ## DEPLOY 1: artifacts-hub
- ```bash
- cd /home/mikes/artifacts-hub-astro/artifacts-hub
- pnpm install
- pnpm run build
- env -u CLOUDFLARE_API_TO