Refresh data #177
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: Refresh data | |
on: | |
workflow_dispatch: | |
schedule: | |
# At 06:00 on Monday. | |
- cron: "0 6 * * 1" | |
jobs: | |
refresh-data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 15 | |
uses: actions/[email protected] | |
with: | |
node-version: 15 | |
- run: npm ci | |
- run: npm run refresh-data | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- uses: EndBug/add-and-commit@v7 | |
with: | |
default_author: github_actions | |
message: 'Refresh data' |