Merge pull request #363 from teaxyz/fix-packages-data

provide consistent endpoint of packages.json data
This commit is contained in:
Neil 2023-05-19 20:59:59 +08:00 committed by GitHub
commit 34bbf39dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ jobs:
- name: add packages data
run: |
rm ./src/data/packages.json
curl https://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json
curl https://gui.tea.xyz/packages.json -H "Accept: application/json" >> ./src/data/packages.json
- name: Create Package Detail Pages from packages.json
uses: getneil/jq-action@v1

View file

@ -38,7 +38,7 @@ jobs:
- name: add packages data
run: |
rm ./src/data/packages.json
curl https://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json
curl https://gui.tea.xyz/packages.json -H "Accept: application/json" >> ./src/data/packages.json
- name: Create Package Detail Pages from packages.json
uses: getneil/jq-action@v1