diff --git a/.github/workflows/deploy_workers.yml b/.github/workflows/deploy_workers.yml index 7b67d02..ce361c2 100644 --- a/.github/workflows/deploy_workers.yml +++ b/.github/workflows/deploy_workers.yml @@ -15,14 +15,14 @@ jobs: steps: - uses: actions/checkout@v3 - name: Publish mongo-proxy - uses: cloudflare/wrangler-action@2.0.0 + uses: cloudflare/wrangler-action@v3.1.1 with: preCommands: cd src/main/workers/api && npm install . apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} command: publish --env production --var REALM_APPID:${{ secrets.REALM_APPID }} --var MONGO_API_KEY:${{ secrets.MONGO_API_KEY }} - name: Publish prerender - uses: cloudflare/wrangler-action@2.0.0 + uses: cloudflare/wrangler-action@v3.1.1 with: preCommands: cd src/main/workers/prerender && npm install . apiToken: ${{ secrets.CF_API_TOKEN }}