Skip to content

update data

update data #1344

Workflow file for this run

name: update data
on:
schedule:
- cron: '0 6 * * *'
jobs:
update_data:
runs-on: ubuntu-latest
container:
image: kasiatemp/ng-update:daily
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: 'main'
token: ${{ secrets.PAT }}
- name: Update data
run: |
bash ./data-raw/update-data.sh
- name: Commit files
run: |
git config --local user.name 'Kasia'
git config --local user.email '[email protected]'
git commit -m "Auto update of the daily data" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT }}
branch: main