diff --git a/.github/workflows/job_deploy_logdrain_production.yaml b/.github/workflows/job_deploy_logdrain_production.yaml new file mode 100644 index 0000000000..d1623de4dc --- /dev/null +++ b/.github/workflows/job_deploy_logdrain_production.yaml @@ -0,0 +1,29 @@ +name: Deploy Logdrain Production +on: + workflow_call: + secrets: + CLOUDFLARE_API_TOKEN: + required: true + + + +jobs: + deploy: + environment: Production + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install + uses: ./.github/actions/install + with: + ts: true + + - name: Build + run: pnpm turbo run build --filter='./apps/logdrain' + + - name: Deploy + run: wrangler deploy + working-directory: apps/logdrain + env: + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}