Load missing data #628
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Load missing data | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '17 9 * * *' | |
jobs: | |
load-missing-data: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm ci | |
- run: npm run loadMissingData | |
- run: git config user.name github-actions | |
- run: git config user.email github-actions@github.com | |
- run: git add . | |
- run: git commit -m "LMD `date +'%Y-%m-%d %H:%M:%S'`" || echo "No changes to commit" | |
- run: git push || echo "Nothing to push" |