Rebuild and deploy data files #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rebuild and deploy data files | |
on: | |
schedule: | |
- cron: '0 0 * * 1' | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install fontTools youseedee | |
- name: Fetch youseedee database | |
run: python -m youseedee 0x20 | |
- name: Fetch Noto fonts | |
uses: actions/checkout@v2 | |
with: | |
repository: notofonts/notofonts.github.io | |
path: notofonts.github.io | |
- name: Fetch Noto CJK | |
uses: actions/checkout@v2 | |
with: | |
repository: googlefonts/noto-cjk | |
path: noto-cjk | |
- name: Fetch Noto Emoji | |
uses: actions/checkout@v2 | |
with: | |
repository: googlefonts/noto-emoji | |
path: noto-emoji | |
- name: Gather data | |
run: python gather-codepoint-data.py | |
- name: Also make text gaplist | |
run: python gaps.py > gaplist.txt | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
file_pattern: blocks/*.json blocks.json fontfiles.json gaplist.txt |