Update getDatafromContentful.yml

This commit is contained in:
赵璟 2023-06-08 17:54:28 +08:00 committed by GitHub
parent 4b22792bac
commit 11f81d5c1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ jobs:
- name: Fetch data from contentful graphql
env:
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_TOKEN }}
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_GRAPHQLTOKEN }}
LOCALES: "en-US,zh-CN"
run: |
IFS=',' read -ra LOCALE_ARRAY <<< "$LOCALES"