Update .github/workflows/merge-fancode-playlist.yml

This commit is contained in:
maskedwolff 2025-04-17 03:21:05 -04:00
parent 1212563978
commit 73a3375159

View file

@ -2,11 +2,11 @@ name: Merge Fancode Playlist with My Playlist on Update
on:
push:
# Listen for changes to the fancode.m3u file in the drmlive/fancode-live-events repo
branches:
- main # This assumes fancode.m3u is on the main branch of drmlive/fancode-live-events
paths:
- "fancode.m3u" # Triggers only if fancode.m3u file changes
workflow_dispatch: # Allows manual trigger from the GitHub UI
jobs:
merge:
@ -41,8 +41,4 @@ jobs:
# Commit the changes if there are updates
if git diff --cached --quiet; then
echo "No changes to commit"
else
git commit -m "Auto-merged Fancode playlist with My Playlist"
git push origin main
fi
echo "