Commit generated readme outputs in workflow

This commit is contained in:
2026-08-11 01:49:33 +01:00
parent e6fb040e4d
commit c1951a548d
+9 -7
View File
@@ -26,10 +26,12 @@ jobs:
- name: Render model previews
run: python build/scripts/render_client_items.py --manifest build/renameable-items.json --pack-root resourcepack --output-dir build
- name: Publish generated catalog artifacts
uses: actions/upload-artifact@v3
with:
name: renameable-item-catalog
path: |
build
README.md
- name: Commit generated readme and renders
run: |
git config user.name "Gitea Actions"
git config user.email "actions@gitea.local"
git add -f README.md build/renameable-items.json build/renameable-items-*.md build/renders
if ! git diff --cached --quiet; then
git commit -m "Update generated readme and renders"
git push origin HEAD:main
fi