From 95385a429659ea0ca5d36386439caebeadd79ffc Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Fri, 13 Jan 2023 14:35:58 +0000 Subject: [PATCH] MOW-99: fix out-of-order queue creation --- .github/workflows/deploy.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 }} \