Skip to content
Draft
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
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- run: pnpm run check
- run: pnpm run lint
- run: pnpm -r build
- run: pnpm --filter stack-dashboard run db:migrate
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- run: pnpm --filter stack-dashboard run cf:deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion apps/dashboard/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ CLOUDFLARE_API_TOKEN="" # Cloudflare -> Top-right user icon -> Profile -> API To
AUTUMN_ENABLED="false"
AUTUMN_SECRET=""
AUTUMN_DEFAULT_PLAN_ID="stack" # This should not be changed.
AUTUMN_SERVER_ENTITY_FEATURE_ID="active_servers" # This should not be changed.
AUTUMN_SERVER_ENTITY_FEATURE_ID="active_servers" # "vms" when pointing at the proposal-v2 sandbox.
AUTUMN_CREDITS_FEATURE_ID="" # Set to "credits" once the credit-system catalog is live; enables the credits UI.

# Internal cron jobs
INTERNAL_CRON_SECRET="" # random strings
Expand Down
3 changes: 3 additions & 0 deletions apps/dashboard/drizzle/0029_boring_sersi.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE "billing_meters" ADD COLUMN "cap_period_start" bigint;--> statement-breakpoint
ALTER TABLE "billing_meters" ADD COLUMN "cap_period_end" bigint;--> statement-breakpoint
ALTER TABLE "billing_meters" ADD COLUMN "hours_this_period" numeric DEFAULT '0' NOT NULL;
Loading