diff --git a/.github/workflows/deploy-vercel-production.yml b/.github/workflows/deploy-vercel-production.yml index e6daaa2eb..0489e8470 100644 --- a/.github/workflows/deploy-vercel-production.yml +++ b/.github/workflows/deploy-vercel-production.yml @@ -194,7 +194,8 @@ jobs: - name: Expose git environment variables and call webhook (if provided) # Workflow overview: # - Resolves webhook url from customer config file - # - If a webhook url was defined, send a + # - If a webhook url was defined in the customer config file, send an HTTP request, as POST request, with a JSON request body dynamically generated + # - Prints the headers of the POST HTTP request (curl) run: | MANUAL_TRIGGER_CUSTOMER="${{ github.event.inputs.customer}}" CUSTOMER_REF_TO_DEPLOY="${MANUAL_TRIGGER_CUSTOMER:-$(cat vercel.json | jq --raw-output '.build.env.NEXT_PUBLIC_CUSTOMER_REF')}" diff --git a/.github/workflows/deploy-vercel-staging.yml b/.github/workflows/deploy-vercel-staging.yml index 84624b5b2..afd4e4545 100644 --- a/.github/workflows/deploy-vercel-staging.yml +++ b/.github/workflows/deploy-vercel-staging.yml @@ -271,7 +271,8 @@ jobs: - name: Expose git environment variables and call webhook (if provided) # Workflow overview: # - Resolves webhook url from customer config file - # - If a webhook url was defined, send a + # - If a webhook url was defined in the customer config file, send an HTTP request, as POST request, with a JSON request body dynamically generated + # - Prints the headers of the POST HTTP request (curl) run: | MANUAL_TRIGGER_CUSTOMER="${{ github.event.inputs.customer}}" CUSTOMER_REF_TO_DEPLOY="${MANUAL_TRIGGER_CUSTOMER:-$(cat vercel.json | jq --raw-output '.build.env.NEXT_PUBLIC_CUSTOMER_REF')}"