Skip to content

Commit 05cae5c

Browse files
authored
feat: build schedule directly (#3779)
1 parent 589f0b2 commit 05cae5c

170 files changed

Lines changed: 3641 additions & 3301 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/deploy.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ jobs:
3030
- run: npm run build
3131
env:
3232
FIRESTORE_TARGET: production
33-
- run: npx firebase deploy --project "$(jq -r .firebase.projectId packages/config/site.json)" --non-interactive
33+
# `--force` deletes functions that are no longer in the code, which non-interactive mode
34+
# otherwise refuses to do, and accepts Firebase's other deploy confirmations.
35+
# `./hbd deploy-args` adds `--except functions` when features.functions is false.
36+
- run: npx firebase deploy --project "$(jq -r .firebase.projectId packages/config/site.json)" --non-interactive --force $(./hbd deploy-args)

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AGENTS.md
22

3-
Hoverboard is a conference website template. Organizers fork it, configure it and deploy it to their own Firebase project. The web app is Lit components that Astro renders to static pages at build time, from the site's content in Firestore. The pages then hydrate in the browser and keep the content live. Cloud Functions handle schedule generation, notifications, image optimization and Mailchimp.
3+
Hoverboard is a conference website template. Organizers fork it, configure it and deploy it to their own Firebase project. The web app is Lit components that Astro renders to static pages at build time, from the site's content in Firestore. The pages then hydrate in the browser and keep the content live. Cloud Functions handle notifications, image optimization and Mailchimp.
44

55
## Layout
66

@@ -37,7 +37,7 @@ Run from the repo root.
3737
| `npm run build` | Production build of every page to `packages/web/dist`. Reads content from the Firestore emulator, see `FIRESTORE_TARGET` below |
3838
| `npm start` | Emulators, functions and the Astro dev server at http://localhost:4321 |
3939
| `npm run serve` | Builds from the emulator data, then serves `dist` on the Hosting emulator at http://localhost:5000 |
40-
| `./hbd doctor` | Checks the local setup, Firebase login, project and billing plan |
40+
| `./hbd doctor` | Checks the local setup, Firebase login, project, billing plan and deployed functions |
4141
| `./hbd init` | Sets up a site: Firebase project and web app, event details in `packages/config`, billing, first deploy. Changes production, so only run it when asked |
4242

4343
Before finishing a change, run `npm run lint` and `npm test`, or at least the affected Vitest project and type check.

0 commit comments

Comments
 (0)