From 90f203e095bc633edc697c3d21d45e57093873c7 Mon Sep 17 00:00:00 2001 From: Andreas Thomas Date: Fri, 29 Nov 2024 16:22:27 +0100 Subject: [PATCH] update name affects ratelimit (#2694) * fix: updating name does not affect ratelimits * ci: add logdrain deploy --- .../job_deploy_logdrain_production.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/job_deploy_logdrain_production.yaml diff --git a/.github/workflows/job_deploy_logdrain_production.yaml b/.github/workflows/job_deploy_logdrain_production.yaml new file mode 100644 index 000000000..d1623de4d --- /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 }}