Daily Chromium-Fetching #627
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: Daily Chromium-Fetching | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 2 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Run Scraper | |
run: | | |
python fetchall.py > docs/README.md | |
- name: push to origin main | |
run: | | |
echo start push | |
git config --global user.name "excitedplus1s" | |
git config --global user.email "github@msfconsole.cn" | |
git add -A | |
git commit -m $(date '+%Y-%m-%d') | |
git push |