From ea3e16a89c67676021ee7fa597a155c8918dd223 Mon Sep 17 00:00:00 2001 From: WillTaylorDev Date: Thu, 30 Jan 2025 12:54:28 -0500 Subject: [PATCH] Add workflow for uploading asset-worker and router-worker (#7925) --- .../workers-shared-deploy-production.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/workers-shared-deploy-production.yml diff --git a/.github/workflows/workers-shared-deploy-production.yml b/.github/workflows/workers-shared-deploy-production.yml new file mode 100644 index 000000000000..a28c4600a875 --- /dev/null +++ b/.github/workflows/workers-shared-deploy-production.yml @@ -0,0 +1,21 @@ +name: Deploy Workers Shared Production + +on: + workflow_dispatch: + +jobs: + deploy-workers: + name: Deploy Workers Shared Production + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Install Dependencies + uses: ./.github/actions/install-dependencies + + - name: Deploy + run: pnpm deploy + working-directory: packages/workers-shared + env: + WORKERS_DEPLOY_AND_CONFIG_CLOUDFLARE_API_TOKEN: ${{ secrets.WORKERS_DEPLOY_AND_CONFIG_CLOUDFLARE_API_TOKEN }}