From c8b848413fb5c12fec1136c306fa6248a3f484d6 Mon Sep 17 00:00:00 2001 From: jasonbellONS Date: Tue, 18 Jun 2024 08:32:19 +0100 Subject: [PATCH] Amending curl request Signed-off-by: jasonbellONS --- .github/workflows/contenful-push.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/contenful-push.yml b/.github/workflows/contenful-push.yml index 6222c0958..c6bcad6b0 100644 --- a/.github/workflows/contenful-push.yml +++ b/.github/workflows/contenful-push.yml @@ -16,9 +16,7 @@ jobs: - name: Create changes from webhook payload run: | - curl --request GET https://api.contentful.com/spaces/${{ github.event.client_payload.spaceID }}/users/ \ - ${{ github.event.client_payload.userID }} -H 'Authorization: Bearer ${{ secrets.CONTENTFUL_TOKEN }}' | \ - jq '.firstName + " " + .lastName + " made a change to contentful"' > CONTENTFUL_CHANGELOG.md + curl --request GET https://api.contentful.com/spaces/${{ github.event.client_payload.spaceID }}/users/${{ github.event.client_payload.userID }} -H 'Authorization: Bearer ${{ secrets.CONTENTFUL_TOKEN }}' | jq '.firstName + " " + .lastName + " made a change to contentful"' > CONTENTFUL_CHANGELOG.md - name: Commit and Push Changes