Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/sync.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ dist-ssr
*.sln
*.sw?

S3

# wrangler local state
.wrangler
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dist
node_modules
S3
dist
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,14 @@ This repository contains the source code for [https://playground.hello.dev/](htt
## License

This project is licensed under the [MIT License](LICENSE).

## Deployment

playground.hello.dev is served from Cloudflare Workers as static assets (see `wrangler.toml`).

- `npm run build` writes the site to `dist/`.
- `worker/index.js` proxies `POST /api/event` to Plausible; every other path is a static asset.
- Merging a PR into `main` requires the **Ready for merge** check (build + tests) and the **Cloudflare Workers** preview build to pass.
- Cloudflare Workers Builds watches `main` and deploys on merge. Nothing deploys from GitHub Actions.
- `public/_headers` sets the CSP and is copied into `dist/` by the build.
- `npm run deploy` deploys by hand with your own Cloudflare login. Normally unnecessary.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default [
'build/',
'.svelte-kit/',
'dist/',
'S3/',
'dist/',
'test-results/',
'*.md',
'src/**/*/Setup.svelte'
Expand Down
Loading
Loading