Updatelists every 5 mins #186878
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: Updatelists every 5 mins | |
on: | |
push: | |
schedule: | |
- cron: "*/5 * * * *" | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
cache: "npm" | |
- run: npm install && npm run build | |
- run: npm run update:lists | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: "list updated" | |
add: '["dist/lists/*.json", "dist/lists/*.bin"]' |