Skip to content

Commit

Permalink
Filter data (#181)
Browse files Browse the repository at this point in the history
* feat: add JSON endpoint for items and update metadata configuration

* feat: update metadata configuration and enhance data processing scripts

* refactor: optimize item filtering and improve loading icon handling

* chore: remove unused API configuration and clean up comments in process_data.py

* ci: update artifact names for metadata CSV and JSON uploads in Jekyll workflow

* feat: validate ITEM_SET_ID environment variable and improve error handling in process_data.py

* ci: specify download path for metadata JSON artifact in Jekyll workflow

* feat: refactoring

* fix: provide default thumbnail path when downloading images in process_data.py

* chore: update @shopify/prettier-plugin-liquid to version 1.6.0 in package.json

* fix: update thumbnail download logic and upgrade dependencies in package-lock.json

* fix: update default thumbnail path to SVG and add no-image.svg asset
  • Loading branch information
maehr authored Nov 13, 2024
1 parent 6fd1525 commit ac004eb
Show file tree
Hide file tree
Showing 11 changed files with 324 additions and 334 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,16 @@ jobs:
with:
python-version: '3.13'
- run: uv run .github/workflows/process_data.py
- name: Upload sgb-metadata.csv
- name: Upload sgb-metadata-csv.csv
uses: actions/upload-artifact@v4
with:
name: sgb-metadata
path: _data/sgb-metadata.csv
name: sgb-metadata-csv
path: _data/sgb-metadata-csv.csv
- name: Upload sgb-metadata-json.json
uses: actions/upload-artifact@v4
with:
name: sgb-metadata-json
path: _data/sgb-metadata-json.json
- name: Upload objects folder
uses: actions/upload-artifact@v4
with:
Expand All @@ -52,10 +57,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download sgb-metadata.csv
- name: Download sgb-metadata-csv.csv
uses: actions/download-artifact@v4
with:
name: sgb-metadata-csv
path: _data
- name: Download sgb-metadata-json.json
uses: actions/download-artifact@v4
with:
name: sgb-metadata
name: sgb-metadata-json
path: _data
- name: Download objects folder
uses: actions/download-artifact@v4
Expand Down
Loading

0 comments on commit ac004eb

Please sign in to comment.