Update data #80703
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: 'Update data' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "*/15 * * * *" | |
jobs: | |
update-data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
cache: 'npm' | |
- name: Install dependencies | |
run: 'npm -v && npm ci' | |
- name: Update data | |
run: 'npm run update-data' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |