Updater #867
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
# This is a workflow to update the repository every day at 12:00PM | |
name: Updater | |
# Controls when the workflow will run | |
on: | |
schedule: | |
- cron: "0 22 * * *" | |
workflow_dispatch: | |
jobs: | |
cron: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytz | |
sudo apt-get install -y xmltv | |
- name: update | |
working-directory: scripts | |
run: | | |
git config user.name 'GitHub Actions' | |
git config user.email '[email protected]' | |
bash update_all_tv_guides.sh | |
shell: bash |