mirror of
https://github.com/ivabus/www
synced 2024-11-24 18:55:06 +03:00
fix packages data
This commit is contained in:
parent
8290da26f4
commit
e9f22d374b
2 changed files with 6 additions and 2 deletions
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -24,7 +24,9 @@ jobs:
|
|||
|
||||
- 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
|
||||
|
||||
- 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
|
||||
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
|
||||
|
||||
- name: Create Package Detail Pages from packages.json
|
||||
|
|
Loading…
Reference in a new issue