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 - name: Render model previews
run: python build/scripts/render_client_items.py --manifest build/renameable-items.json --pack-root resourcepack --output-dir build run: python build/scripts/render_client_items.py --manifest build/renameable-items.json --pack-root resourcepack --output-dir build
- name: Publish generated catalog artifacts - name: Commit generated readme and renders
uses: actions/upload-artifact@v3 run: |
with: git config user.name "Gitea Actions"
name: renameable-item-catalog git config user.email "actions@gitea.local"
path: | git add -f README.md build/renameable-items.json build/renameable-items-*.md build/renders
build if ! git diff --cached --quiet; then
README.md git commit -m "Update generated readme and renders"
git push origin HEAD:main
fi