Update versions #854
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 versions | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
update-versions: | |
runs-on: ubuntu-latest | |
name: Update versions | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run script | |
run: node crawler.js | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'Updated Minecraft versions' | |
commit_user_name: 'Automatic Updater' | |
commit_user_email: 'ch@rli.es' | |
commit_author: 'heychazza <ch@rli.es>' |