This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
Update M3U8 Files #1689
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update M3U8 Files | |
on: | |
schedule: | |
- cron: "0 0/3 * * *" | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set configuration variables | |
run: | | |
git pull | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
- name: Run shell script | |
run: | | |
pwd | |
chmod +x updatem3u8files.sh | |
./updatem3u8files.sh | |
- name: Add changes to staging area | |
run: | | |
git add -A | |
ls -la | |
- name: Commit & push | |
run: | | |
git commit -m "Update M3U8 files" | |
git push |