diff --git a/.env.example b/.env.example index 96fa2d1..97094f3 100644 --- a/.env.example +++ b/.env.example @@ -7,23 +7,57 @@ KV_REST_API_TOKEN= # Vercel Blob (snapshot agent binary) BLOB_READ_WRITE_TOKEN= -# Hetzner credentials are now per-user — set them in /dashboard/account. -# The build-snapshot.sh script still reads HETZNER_TOKEN/IMAGE_ID/LOCATION/ -# SERVER_TYPE/SSH_KEY directly from .env.local for the admin gold-image build. +# System-level Hetzner provider token used by GSM. +HETZNER_API_TOKEN= +# Optional: pin a golden image ID. If empty, GSM auto-manages snapshots. +HETZNER_SNAPSHOT_IMAGE_ID= + +# Optional builder defaults used by provider profile. +HETZNER_BUILDER_BASE_IMAGE=ubuntu-24.04 +HETZNER_BUILDER_SERVER_TYPE=cx23 +HETZNER_BUILDER_LOCATION=nbg1 BOOTSTRAP_JWT_SECRET= BETTER_AUTH_SECRET= BETTER_AUTH_URL=http://localhost:3000 -# On Vercel, SEO_URL and API_URL are derived from VERCEL_PROJECT_PRODUCTION_URL -# and VERCEL_BRANCH_URL automatically. Locally, both fall back to -# http://localhost:3000. -# -# VERCEL_AUTOMATION_BYPASS_SECRET is required on Vercel preview deployments so -# Hetzner agents can punch through deployment protection on callbacks. It's not -# needed locally or in production. +# Optional public URL override for local snapshot bakes. Use ngrok/tunnel URL. +NODEBYTE_PUBLIC_URL= + VERCEL_AUTOMATION_BYPASS_SECRET= +# Stripe (optional unless billing/webhooks are in use) +STRIPE_SECRET_KEY= +STRIPE_WEBHOOK_SECRET= +NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= + +# SMTP (optional; when unset, email sending is skipped) +SMTP_HOST= +SMTP_PORT=587 +SMTP_USER= +SMTP_PASS= +SMTP_FROM= + +# Optional analytics +NEXT_PUBLIC_GA_MEASUREMENT_ID= +NEXT_PUBLIC_POSTHOG_HOST= +NEXT_PUBLIC_POSTHOG_KEY= + +# Sentry (optional) NEXT_PUBLIC_SENTRY_DSN= SENTRY_ORG= SENTRY_PROJECT= + +# Optional local snapshot build tuning +SNAPSHOT_SKIP_FULL_UPGRADE=0 +SNAPSHOT_BUILDER_MAX_WAIT_SECONDS= +SNAPSHOT_BUILDER_POLL_SECONDS= +SNAPSHOT_IMAGE_MAX_WAIT_SECONDS= +SNAPSHOT_IMAGE_POLL_SECONDS= + +# Optional local git source override for snapshot compilation +NBP_GIT_REVISION= +NBP_GIT_REPO_URL= + +# Optional token for private submodule access / sandbox git fetch +GIT_AUTH_TOKEN= diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6838299..ec17003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,6 @@ name: CI on: pull_request: push: - branches: - - master - - main permissions: contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 487eacb..94cc1d2 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,7 +1,6 @@ name: "Dependency review" on: pull_request: - branches: ["main"] permissions: contents: read @@ -12,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout repository" - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: "Dependency Review" - uses: actions/dependency-review-action@v4. + uses: actions/dependency-review-action@v5 with: comment-summary-in-pr: always diff --git a/agent b/agent index 8682176..b8715dc 160000 --- a/agent +++ b/agent @@ -1 +1 @@ -Subproject commit 86821760f444e6f86f342a0be7ce5021065c7242 +Subproject commit b8715dc29793f9eddcac88717ffb2ecf5b152efb diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx index 0962b10..d1cc099 100644 --- a/app/(marketing)/layout.tsx +++ b/app/(marketing)/layout.tsx @@ -9,7 +9,7 @@ const MarketingLayout = async ({ children }: { children: ReactNode }) => { const isAuthenticated = Boolean(session?.user); return ( -
+
{children}