Auto Update README #946
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: Auto Update README | |
on: | |
schedule: | |
- cron: '30 19 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
architecture: 'x64' | |
- name: Setup pip | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytz | |
- name: Run assemble.py | |
run: | | |
python scripts/auto_update.py --all | |
- name: Commits | |
run: | | |
git config --local user.email "tony9402@naver.com" | |
git config --local user.name "tony9402" | |
git add . | |
git commit -m "Auto UPDATE (ALL)" | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
branch: 'main' | |
github_token: $ |