Skip to content

refresh map

refresh map #16

name: refresh map
on:
schedule:
- cron: "00 00 1 * *" # runs at 00:00 every 1st of month
jobs:
getdataandrefreshmap:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.8 #install the python needed
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: execute py script
run: |
python htm_dashboard/cache_citations.py
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "updated citations file"
git push