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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["**"]
pull_request:
branches: [dev, staging, beta, main]
branches: [dev, beta, main]

jobs:
lint-build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prisma-migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Prisma Migrate Deploy

on:
push:
branches: [dev, staging, beta, main]
branches: [dev, beta, main]
paths:
- "apps/backend/prisma/**"
- "apps/backend/prisma.config.ts"
Expand All @@ -16,7 +16,7 @@ jobs:
migrate:
name: Apply Prisma migrations
runs-on: ubuntu-latest
environment: ${{ github.ref_name == 'main' && 'production' || github.ref_name == 'beta' && 'beta' || github.ref_name == 'staging' && 'staging' || 'development' }}
environment: ${{ github.ref_name == 'main' && 'production' || github.ref_name == 'beta' && 'beta' || 'development' }}
env:
DATABASE_URL: ${{ secrets.NEON_DATABASE_URL }}
DIRECT_URL: ${{ secrets.NEON_DIRECT_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promotion-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# Promotions and hotfixes to protected branches must originate from a
# branch in this repository, never a fork — otherwise a fork branch
# named 'dev' could satisfy 'staging <- dev' and skip the ladder.
# named 'dev' could satisfy 'beta <- dev' and skip the ladder.
if [ "$HEAD_REPO" != "$REPO" ]; then
echo "::error::PRs into '$BASE' must come from a branch in '$REPO', not a fork ('$HEAD_REPO')."
exit 1
Expand Down
6 changes: 3 additions & 3 deletions apps/backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ONBOARDING_OTP_SECRET=
# Production: https://app.twizrr.com,https://twizrr.com,https://admin.twizrr.com
# The admin console runs on its own host (admin.twizrr.com) and calls this API,
# so include it here alongside the app/marketing origins.
# Never use * on staging or production
# Never use * on beta or production
CORS_ORIGINS=http://localhost:3000
# Request IP extraction for audit/security context.
# Keep false locally. Set true only when the backend runs behind trusted proxy
Expand Down Expand Up @@ -160,8 +160,8 @@ NOMBA_WEBHOOK_SECRET=
# PAYSTACK (ACTIVE: PaymentProvider, PayoutProvider, RefundProvider)
# Used for shopper checkout, verified payment webhooks, admin-approved payouts,
# dispute/settlement refunds, and reconciliation.
# Use TEST keys for local, dev, and staging
# Use LIVE keys for beta and production ONLY
# Use TEST keys for local, dev, and beta (beta is a disposable rehearsal on sandbox payments)
# Use LIVE keys for production ONLY
# Never mix test and live keys in the same environment
PAYSTACK_SECRET_KEY=
PAYSTACK_PUBLIC_KEY=
Expand Down
2 changes: 1 addition & 1 deletion apps/web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ NEXT_PUBLIC_MARKETING_ONLY=false

# Paystack public (publishable) key - safe to expose in the browser. Read by the
# checkout screens only.
# Use a TEST key for local/dev/staging; LIVE key for production only.
# Use a TEST key for local/dev/beta; LIVE key for production only.
NEXT_PUBLIC_PAYSTACK_PUBLIC_KEY=

# Google Maps/Places browser key for store pickup address search and
Expand Down
Loading