Skip to content

chengdu iptv build

chengdu iptv build #89

Workflow file for this run

name: chengdu iptv build
on:
push:
branches: [ master ]
schedule:
- cron: "0 2 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install m3u8
pip install bs4
pip install lxml
pip install html5lib
pip install strict-rfc3339
- name: Build home
run: |
python3 ./script/home.py
- name: Commit
run: |
git config --global user.name 'heifeng'
git config --global user.email '[email protected]'
git add .
git commit -am "Automated build"
git push