flow/forgejo/actions/deposit-changes/action.yml

10 lines
313 B
YAML

name: Deposit changes
runs:
using: "composite"
steps:
- name: Add, commit, and push any changes
run: |
git add content
git diff --quiet --cached \
&& echo "Already up-to-date" \
|| ( git commit -m "chore: auto-generate content from metadata" && git push origin )