Skip to content

Update Forge Files every day #959

Update Forge Files every day

Update Forge Files every day #959

name: Update Forge Files every day
on:
schedule:
- cron: '15 1 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install -g forge-update-generator
- run: cd forge_update && ./_update.sh
- uses: EndBug/add-and-commit@v7
with:
add: 'forge_update'
message: 'Update Forge update files'
push: true