Delete .github/workflows/merge-fancode-playlist.yml
This commit is contained in:
parent
babb7d88fd
commit
1c977bfc7d
1 changed files with 0 additions and 29 deletions
29
.github/workflows/merge-fancode-playlist.yml
vendored
29
.github/workflows/merge-fancode-playlist.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: Merge Fancode Playlist with My Playlist on Update
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
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:
|
|
||||||
runs-on: ubuntu-22.04 # Change to a specific version to avoid "waiting" issues
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout My Repo
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Download Fancode Playlist
|
|
||||||
run: |
|
|
||||||
curl -L "https://raw.githubusercontent.com/drmlive/fancode-live-events/main/fancode.m3u" -o fancode_playlist.m3u
|
|
||||||
|
|
||||||
- name: Merge Playlists with Headers
|
|
||||||
run: |
|
|
||||||
echo "# --- Fancode Playlist: drmlive/fancode-live-events ---" > merged_playlist.m3u
|
|
||||||
cat fancode_playlist.m3u >> merged_playlist.m3u
|
|
||||||
echo "" >> merged_playlist.m3u
|
|
||||||
echo "# --- Your Playlist: MaskedWolff/maskedwolf ---" >> merged_playlist.m3u
|
|
||||||
cat my_playlist.m3u_
|
|
Loading…
Add table
Reference in a new issue