Update VRMS data #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/git-auto-commit-action@v5.0.1 | |
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> |