forked from hackforla/website
-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (24 loc) · 906 Bytes
/
vrms-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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]>