Skip to content

Update events.json from Airtable #253

Update events.json from Airtable

Update events.json from Airtable #253

Workflow file for this run

name: Update events.json from Airtable
on:
workflow_dispatch: # Manual trigger
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
jobs:
process_airtable_and_fork:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.6'
bundler-cache: true
- name: Fetch Data from Airtable and Create a branch if events.json data changes
env:
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }}
AIRTABLE_TABLE_NAME: ${{ secrets.AIRTABLE_TABLE_NAME }}
run: bundle exec ruby lib/airtable.rb