Skip to content

LOL Game Publisher #1423

LOL Game Publisher

LOL Game Publisher #1423

Workflow file for this run

name: LOL Game Publisher
on:
push:
branches:
- master
schedule:
- cron: "0 16 * * *"
jobs:
LOL-Publisher:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js, NPM
uses: actions/setup-node@v1
with:
node-version: 14
- name: "Install dependencies"
run: npm install
- name: "Working"
timeout-minutes: 350
run: npm run start
- name: Commit files
continue-on-error: true
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git commit -m "LPL and LDL game calendar has updated" -a
- name: "Push changes"
uses: ad-m/github-push-action@master
continue-on-error: true
with:
github_token: ${{ secrets.RELEASE_TOKEN }}
- name: "Create Release"
uses: elgohr/Github-Release-Action@v5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: LPLEveryDayUpdate