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:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: '0 */6 * * *' # Runs every 6 hours
|
# Listen for changes to the fancode.m3u file in the drmlive/fancode-live-events repo
|
||||||
workflow_dispatch: # Allows manual trigger too
|
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:
|
jobs:
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Nadeko Repo
|
- name: Checkout My Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download Fancode Playlist
|
- name: Download Fancode Playlist
|
||||||
|
|
Loading…
Add table
Reference in a new issue