feat: new py based generator for md and html

This commit is contained in:
2025-12-15 09:48:10 +02:00
parent a0cf8c245a
commit 2e272e1673
5 changed files with 3184 additions and 239 deletions

30
.github/workflows/generate-listings.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Generate Listings
on:
push:
paths:
- 'emoji/**'
- 'create_listing.py'
branches:
- master
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Generate listings
run: python3 create_listing.py
- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add README.md index.html
git diff --staged --quiet || git commit -m "Update listings"
git push