mirror of
https://github.com/multipleof4/stain.otf.git
synced 2026-01-13 16:17:55 +00:00
Refactor: Build, validate, and commit Stain Regular
This commit is contained in:
5
.github/workflows/build-font.yml
vendored
5
.github/workflows/build-font.yml
vendored
@@ -29,13 +29,16 @@ jobs:
|
|||||||
- name: Build font
|
- name: Build font
|
||||||
run: npm run build:font
|
run: npm run build:font
|
||||||
|
|
||||||
|
- name: Validate font
|
||||||
|
run: npm run test
|
||||||
|
|
||||||
- name: Commit generated fonts
|
- name: Commit generated fonts
|
||||||
run: |
|
run: |
|
||||||
if [ -n "$(git status --porcelain dist)" ]; then
|
if [ -n "$(git status --porcelain dist)" ]; then
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git add dist
|
git add dist
|
||||||
git commit -m "chore: build StainFont Basic"
|
git commit -m "chore: build Stain Regular"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes in dist; skipping commit."
|
echo "No changes in dist; skipping commit."
|
||||||
|
|||||||
Reference in New Issue
Block a user