mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
Update getDatafromContentful.yml
This commit is contained in:
parent
11f81d5c1f
commit
b5676b4cb8
1
.github/workflows/getDatafromContentful.yml
vendored
1
.github/workflows/getDatafromContentful.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_GRAPHQLTOKEN }}
|
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_GRAPHQLTOKEN }}
|
||||||
LOCALES: "en-US,zh-CN"
|
LOCALES: "en-US,zh-CN"
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p appmanage/static/json
|
||||||
IFS=',' read -ra LOCALE_ARRAY <<< "$LOCALES"
|
IFS=',' read -ra LOCALE_ARRAY <<< "$LOCALES"
|
||||||
for LOCALE in "${LOCALE_ARRAY[@]}"; do
|
for LOCALE in "${LOCALE_ARRAY[@]}"; do
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
|
Loading…
Reference in New Issue
Block a user