Workflow improvements

This commit is contained in:
SpaceMonkey 2025-01-30 22:47:58 +00:00
parent 8dee5cbec5
commit 133682c6b0
3 changed files with 84 additions and 2 deletions

View file

@ -32,10 +32,14 @@ jobs:
- name: Split into group playlists
run: node .forgejo/scripts/split-m3u.js mystique.m3u
- name: Update README
run: node .forgejo/scripts/readme-m3u.js mystique.m3u
- name: Commit changes to files
run: |
git config --global user.name 'Forgejo Actions Bot'
git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org'
git add .
git add --all
git diff --quiet && git diff --staged --quiet || (git commit -m "Automated updates of M3U Files" && git push)