zed/.cloudflare
Conrad Irwin b7cf3040ef
Remove 2 removal (#11867)
Release Notes:

- N/A
2024-05-15 11:06:05 -06:00
..
docs-proxy
open-source-website-assets Remove 2 removal (#11867) 2024-05-15 11:06:05 -06:00
README.md Remove 2 removal (#11867) 2024-05-15 11:06:05 -06:00

We have two cloudflare workers that let us serve some assets of this repo from Cloudflare.

  • open-source-website-assets is used for install.sh
  • docs-proxy is used for https://zed.dev/docs

On push to main, both of these (and the files they depend on) are uploaded to Cloudflare.

Deployment

These functions are deployed on push to main by the deploy_cloudflare.yml workflow. Worker Rules in Cloudflare intercept requests to zed.dev and proxy them to the appropriate workers.

Testing

You can use wrangler to test these workers locally, or to deploy custom versions.