lci1 action #3409
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: lci1 action | |
on: | |
schedule: | |
- cron: '08 */3 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: config | |
run: | | |
git config --global user.email "<>" | |
git config --global user.name "lci1 bot" | |
- name: updating lci1 | |
run: python3 ressources/btv/py/lci1.py > ressources/btv/py/lci1.m3u8 | |
- name: git add | |
run: | | |
git add -A | |
ls -la | |
- name: commit & push | |
run: | | |
git pull origin master | |
git commit -m "lci1 updated" | |
git push origin master |