mirror of
https://github.com/ivabus/www
synced 2024-11-14 07:15:06 +03:00
Merge pull request #363 from teaxyz/fix-packages-data
provide consistent endpoint of packages.json data
This commit is contained in:
commit
34bbf39dc2
2 changed files with 2 additions and 2 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
- name: add packages data
|
- name: add packages data
|
||||||
run: |
|
run: |
|
||||||
rm ./src/data/packages.json
|
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
|
- name: Create Package Detail Pages from packages.json
|
||||||
uses: getneil/jq-action@v1
|
uses: getneil/jq-action@v1
|
||||||
|
|
2
.github/workflows/staging.yml
vendored
2
.github/workflows/staging.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: add packages data
|
- name: add packages data
|
||||||
run: |
|
run: |
|
||||||
rm ./src/data/packages.json
|
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
|
- name: Create Package Detail Pages from packages.json
|
||||||
uses: getneil/jq-action@v1
|
uses: getneil/jq-action@v1
|
||||||
|
|
Loading…
Reference in a new issue