mirror of
https://github.com/ivabus/www
synced 2024-11-13 02:55:15 +03:00
fix packages data
This commit is contained in:
parent
8290da26f4
commit
e9f22d374b
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -24,7 +24,9 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- run: |
|
- 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://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json
|
||||||
|
|
||||||
- name: Create Package Detail Pages from packages.json
|
- name: Create Package Detail Pages from packages.json
|
||||||
|
|
4
.github/workflows/staging.yml
vendored
4
.github/workflows/staging.yml
vendored
|
@ -35,7 +35,9 @@ jobs:
|
||||||
echo "relativeurls = true" >>config.toml
|
echo "relativeurls = true" >>config.toml
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
|
||||||
- run: |
|
- 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://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json
|
||||||
|
|
||||||
- name: Create Package Detail Pages from packages.json
|
- name: Create Package Detail Pages from packages.json
|
||||||
|
|
Loading…
Reference in a new issue