Skip to content

Update VRMS data

Update VRMS data #1155

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@v3
with:
token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
# Use an action (`my-action`) in your repository
- name: Save vrms_data.json
run: curl -o _data/external/vrms_data.json https://www.vrms.io/api/recurringevents
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
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 <hackforla-bot@hackforla.org>