Skip to content

update

update #866

Workflow file for this run

name: update
on:
schedule:
- cron: "0 21 * * 5"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.7 #install the python needed
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install matplotlib requests
- name: execute main # run the run.py to get the latest data
run: |
python main.py
- name: Commit changes
run: |
git config --global user.name 'Actions'
git config --global user.email '[email protected]'
git add
git commit -am "Auto new data gather and graphs update"
git push