diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2964a0f..7b29b5d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -192,6 +192,15 @@ jobs: echo "******" env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} + + - name: Create Queue + uses: cloudflare/wrangler-action@2.0.0 + with: + command: queues create wildebeest + apiToken: ${{ secrets.CF_API_TOKEN }} + continue-on-error: true + env: + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} - name: Publish consumer uses: cloudflare/wrangler-action@2.0.0 @@ -213,15 +222,6 @@ jobs: env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} - - name: Create Queue - uses: cloudflare/wrangler-action@2.0.0 - with: - command: queues create wildebeest - apiToken: ${{ secrets.CF_API_TOKEN }} - continue-on-error: true - env: - CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} - - name: add Queue producer to Pages run: | curl https://api.cloudflare.com/client/v4/accounts/${{ secrets.CF_ACCOUNT_ID }}/pages/projects/wildebeest-${{ env.OWNER_LOWER }} \