mirror of
https://github.com/ivuorinen/emoji.git
synced 2026-01-26 03:14:02 +00:00
31 lines
749 B
YAML
31 lines
749 B
YAML
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
|