From ab0978d0cb31663306aea8115a6bee12aa45587b Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Fri, 13 Jan 2023 08:34:44 +0000 Subject: [PATCH] MOW-99: create Queue in deployement --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f2a49a7..2964a0f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -213,6 +213,15 @@ 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 }} \