You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

26 lines
691 B

on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build the data and create local changes
uses: actions/setup-python@v1
with:
python-version: '3.6.10'
architecture: x64
- run: |
pip install -r requirements.txt
python process.py
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Daily auto-update of the data" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.gh }}