Top Channel Greece (Twitch) #425
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: Top Channel Greece (Twitch) | |
on: | |
schedule: | |
- cron: '0 */4 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: get config | |
run: | | |
git config --global user.email "<>" | |
git config --global user.name "Update" | |
- name: grab twitch stream | |
run: | | |
pwd | |
cd ./core/platforms/ | |
python3 twitch.py topchannelkozani > ../../streams/Top_Channel_Greece.m3u8 | |
- name: adding everything | |
run: | | |
git add -A | |
ls -la | |
- name: commit & push | |
run: | | |
git commit -m "Top Channel Greece (Twitch) updated" | |
git push |