Update getDatafromContentful.yml
This commit is contained in:
parent
dac06dbe1f
commit
f3c1526129
1 changed files with 6 additions and 3 deletions
9
.github/workflows/getDatafromContentful.yml
vendored
9
.github/workflows/getDatafromContentful.yml
vendored
|
@ -10,9 +10,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run GraphQL query
|
||||
uses: octokit/graphql-action@v2.2.24
|
||||
env:
|
||||
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_TOKEN }}
|
||||
uses: octokit/graphql-action@v3.5.2
|
||||
with:
|
||||
query: |
|
||||
query($locale: String){
|
||||
|
@ -41,5 +39,10 @@ jobs:
|
|||
{
|
||||
"locale": "en-US"
|
||||
}
|
||||
url: https://graphql.contentful.com/content/v1/spaces/ffrhttfighww/environments/master
|
||||
headers: |
|
||||
{
|
||||
"Authorization": "Bearer ${{secrets.CONTENTFUL_TOKEN}}"
|
||||
}
|
||||
result-encoding: string
|
||||
result-path: appmanage/static/json/catalog.json
|
||||
|
|
Loading…
Add table
Reference in a new issue