Skip to content

feat: add landing page screenshots (#106) #19

feat: add landing page screenshots (#106)

feat: add landing page screenshots (#106) #19

name: convex (staging)
on:
push:
branches:
- main
paths:
- "packages/server/**"
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/server
environment: deploy-convex-staging
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
steps:
- name: πŸ’Ύ Checkout code
uses: actions/checkout@v4
- name: πŸ“¦ Setup bun
uses: oven-sh/setup-bun@v2
- name: πŸ“¦ Install dependencies
run: bun install
- name: πŸ”‘ Install Doppler CLI
uses: dopplerhq/cli-action@v3
- name: πŸ”„ Sync environment variables to Convex
run: |
doppler secrets download --no-file --format env-no-quotes | \
while IFS='=' read -r key value; do
bunx convex env set "$key" "$value"
done
- name: πŸš€ Deploy Convex
run: bunx convex deploy