feat: add landing page screenshots (#106) #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |