diff --git a/.github/workflows/workers-deploy-preview.yml b/.github/workflows/workers-deploy-preview.yml index c3c7eb8..d1154b5 100644 --- a/.github/workflows/workers-deploy-preview.yml +++ b/.github/workflows/workers-deploy-preview.yml @@ -24,6 +24,7 @@ jobs: - name: Deploy To Cloudflare Workers uses: cloudflare/wrangler-action@v3 with: + preCommands: pnpm install apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} workingDirectory: ./apps/workers environment: preview \ No newline at end of file diff --git a/.github/workflows/workers-deploy-production.yml b/.github/workflows/workers-deploy-production.yml index 16a4587..49473bb 100644 --- a/.github/workflows/workers-deploy-production.yml +++ b/.github/workflows/workers-deploy-production.yml @@ -24,6 +24,7 @@ jobs: - name: Deploy To Cloudflare Workers uses: cloudflare/wrangler-action@v3 with: + preCommands: pnpm install apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} workingDirectory: ./apps/workers environment: production \ No newline at end of file