Update Icon List #114
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 Icon List | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
update-icon-list: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Download defaultIconList.json | |
run: | | |
curl -sL https://github.com/taksssss/tv/raw/refs/heads/main/iconList_default.json -o epg/assets/defaultIconList.json | |
- name: Commit and push changes | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git add epg/assets/defaultIconList.json | |
git diff --cached --quiet || git commit -m "Update defaultIconList.json" | |
git push |