fix packages data

This commit is contained in:
neil molina 2023-03-20 20:26:06 +08:00
parent 8290da26f4
commit e9f22d374b
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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