Skip to content

Commit 594bbf1

Browse files
authored
Merge pull request #16 from bearfire-dev/sr-deploy-docs
Record the Cloudflare deploy path in the README
2 parents dcf2e2c + 1dccd96 commit 594bbf1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ pnpm build
2828
pnpm exec wrangler dev
2929
```
3030

31+
## Deploy
32+
33+
Cloudflare builds and deploys the Worker from this repo through its Git
34+
integration. A push to `master` ships it. There is no deploy step in GitHub
35+
Actions and no Cloudflare API token in the repo.
36+
37+
`VITE_SITE_URL` has to be set as a build variable in the Cloudflare project.
38+
Vite inlines it at build time, so a value set only in GitHub Actions never
39+
reaches the deployed bundle.
40+
3141
## License
3242

3343
Licensed under the [O'Saasy License](./LICENSE.md). You may use, modify, and distribute the software broadly, but you may not offer it to third parties as a hosted SaaS or cloud service whose primary value is the software itself (see the license for the exact terms).

0 commit comments

Comments
 (0)