Skip to content

Update VRMS data

Update VRMS data #119

Workflow file for this run

name: Update VRMS data
# Run this action every day at 2am Pacific (10 am UTC)
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
jobs:
vrms_data:
runs-on: ubuntu-latest
if: github.repository == 'hackforla/website'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
# Use an action (`my-action`) in your repository
- name: Save vrms_data.json
run: curl --retry 7 --fail -o _data/external/vrms_data.json https://www.vrms.io/api/recurringevents
- uses: stefanzweifel/[email protected]
with:
# Optional glob pattern of files which should be added to the commit
file_pattern: _data/external/vrms_data.json
commit_message: Update meeting data
# Optional commit user and author settings
commit_author: GitHub Actions Bot <[email protected]>