Update getDatafromContentful.yml
This commit is contained in:
parent
9d85bd1d7a
commit
d80b0b4d46
1 changed files with 1 additions and 1 deletions
2
.github/workflows/getDatafromContentful.yml
vendored
2
.github/workflows/getDatafromContentful.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer $ACCESS_TOKEN" \
|
-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"}}' \
|
--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
|
done
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
|
|
Loading…
Add table
Reference in a new issue