diff --git a/.github/workflows/getDatafromContentful.yml b/.github/workflows/getDatafromContentful.yml index 2c8e5e92..20a72d71 100644 --- a/.github/workflows/getDatafromContentful.yml +++ b/.github/workflows/getDatafromContentful.yml @@ -20,7 +20,7 @@ jobs: -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ --data '{"query":"query($locale: String){catalog(id: \"2Yp0TY3kBHgG6VDjsHZNpK\",locale:$locale) {linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key position title linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key title position}}}}}}}}","variables":{"locale":"$LOCALE"}}' \ - https://graphql.contentful.com/content/v1/spaces/$SPACE_ID > appmanage/static/json/catalog_$LOCALE.json + https://graphql.contentful.com/content/v1/spaces/$SPACE_ID > catalog_$LOCALE.json done - name: Commit and push changes