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

This commit is contained in:
maskedwolff 2025-04-17 03:15:19 -04:00
parent d26cd1b48c
commit 1212563978

View file

@ -1,16 +1,19 @@
name: Merge Fancode Playlist with My Playlist
name: Merge Fancode Playlist with My Playlist on Update
on:
schedule:
- cron: '0 */6 * * *' # Runs every 6 hours
workflow_dispatch: # Allows manual trigger too
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
jobs:
merge:
runs-on: ubuntu-latest
steps:
- name: Checkout Nadeko Repo
- name: Checkout My Repo
uses: actions/checkout@v3
- name: Download Fancode Playlist