From af7e73af08d6a50850ff4f2160231a5845fe43c8 Mon Sep 17 00:00:00 2001 From: neil molina Date: Fri, 19 May 2023 20:39:29 +0800 Subject: [PATCH] provide consistent endpoint of packages.json data --- .github/workflows/cd.yml | 2 +- .github/workflows/staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4ce4c1d..40d2137 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index a73d345..dad7485 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -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