Update .github/workflows/merge-fancode-playlist.yml
This commit is contained in:
parent
d26cd1b48c
commit
1212563978
1 changed files with 8 additions and 5 deletions
13
.github/workflows/merge-fancode-playlist.yml
vendored
13
.github/workflows/merge-fancode-playlist.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue