covid-disease-spread/.github/workflows/datapull.yml

26 lines
564 B
YAML

name: Get ecdc.europa.eu csv data
on:
schedule:
- cron: "0 14 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Create local changes
run: |
./download.csv.sh
- name: Commit files
run: |
git config --local user.email "github.action@vane.pl"
git config --local user.name "GitHub Action"
git commit -m "Update csv data" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}