Skip to content

Update versions

Update versions #870

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>'