fix bug #261
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: Deploy PRD (Railway + Cloudflare) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: deploy-prd | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy-prd: | |
| runs-on: ubuntu-latest | |
| env: | |
| DOPPLER_PROJECT: maple | |
| DOPPLER_CONFIG: prd | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Load deployment secrets from Doppler | |
| uses: dopplerhq/secrets-fetch-action@v1.3.0 | |
| with: | |
| doppler-token: ${{ secrets.DOPPLER_TOKEN }} | |
| doppler-project: ${{ env.DOPPLER_PROJECT }} | |
| doppler-config: ${{ env.DOPPLER_CONFIG }} | |
| inject-env-vars: true | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Deploy PRD stack with Alchemy | |
| run: bun run deploy:prd |