Skip to content

Commit

Permalink
Update fetch-playlist.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dtankdempse authored Oct 14, 2024
1 parent 65d7af7 commit 0c6ea9c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/fetch-playlist.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update Playlist and EPG
name: Update EPG

on:
schedule:
Expand All @@ -17,16 +17,13 @@ jobs:
with:
fetch-depth: 1

- name: Download playlist.m3u8
run: curl -o playlist.m3u8 ${{ secrets.PLAYLIST_URL }}

- name: Download epg.xml
run: curl -o epg.xml ${{ secrets.EPG_URL }}

- name: Force commit and push the changes (no history)
run: |
git config --global user.name "actions-user"
git config --global user.email "[email protected]"
git add playlist.m3u8 epg.xml
git commit -m "Update playlist and EPG"
git add epg.xml
git commit -m "Update EPG"
git push --force # Force push to overwrite the previous commit

0 comments on commit 0c6ea9c

Please sign in to comment.