Skip to content

nowtur action #4

nowtur action

nowtur action #4

Workflow file for this run

name: nowtur action
on:
schedule:
- cron: '03 */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 "nowtur bot"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install beautifulsoup4 requests
- name: updating nowtur
run: python3 ressources/tur/nowtur.py > ressources/tur/nowtur.m3u8
- name: git add
run: |
git add -A
ls -la
- name: commit & push
run: |
git pull origin master
git commit -m "nowtur updated"
git push origin master