Skip to content

Scheduled Update

Scheduled Update #605

Workflow file for this run

name: Scheduled Update
on:
workflow_dispatch:
push:
schedule:
- cron: '30 0 * * *'
concurrency: commit
jobs:
fetch:
name: Fetch data, and commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Config git user
run: |
git config user.name "Russell Smith"
git config user.email ukd1@users.noreply.github.com
- name: Update from LVMS
run: |
bundle exec ruby main.rb > lvms-events.ics
git add lvms-events.ics
- name: Commit, and push repo
run: |
git commit -m "Updated data in run ${GITHUB_RUN_NUMBER}" || true
git push || true