Skip to content

Commit

Permalink
Amending curl request
Browse files Browse the repository at this point in the history
Signed-off-by: jasonbellONS <[email protected]>
  • Loading branch information
JasonBellONS committed Jun 18, 2024
1 parent 9e51714 commit c8b8484
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/contenful-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8b8484

Please sign in to comment.