forked from Mystique-Play/Mystique
Update .forgejo/workflows/validate.yaml
This commit is contained in:
parent
6041998339
commit
4c4b5f7492
1 changed files with 4 additions and 11 deletions
|
@ -31,18 +31,11 @@ jobs:
|
||||||
|
|
||||||
- name: Split into group playlists
|
- name: Split into group playlists
|
||||||
run: node .forgejo/scripts/split-m3u.js mystique.m3u
|
run: node .forgejo/scripts/split-m3u.js mystique.m3u
|
||||||
|
|
||||||
- name: Commit changes to main playlist file
|
- name: Commit changes to files
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'Forgejo Actions Bot'
|
git config --global user.name 'Forgejo Actions Bot'
|
||||||
git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org'
|
git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org'
|
||||||
git add mystique.m3u
|
git add .
|
||||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Auto-format and sort M3U file")
|
git diff --quiet && git diff --staged --quiet || (git commit -m "Automated updates of M3U Files" && git push)
|
||||||
|
|
||||||
- name: Commit changes to specific country files
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Forgejo Actions Bot'
|
|
||||||
git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org'
|
|
||||||
git add countries
|
|
||||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update of country specific playlists" && git push)
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue