chengdu iptv build #84
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: 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 | |