Skip to content

Import Eventbrite events on a CRON Schedule #31

Import Eventbrite events on a CRON Schedule

Import Eventbrite events on a CRON Schedule #31

name: Import Eventbrite events on a CRON Schedule
on:
schedule:
# Runs every Friday at 8:00am
- cron: '0 8 * * 5'
push:
branches:
- 'eventbrite_integration'
jobs:
build:
name: Import Eventbrite events
runs-on: ubuntu-latest
steps:
- name: cURL request
# Hit the API endpoint to trigger an import
run: |
curl -s -X POST https://www.connectedkw.com/api/import-events \
-d '{"source":"eventbrite"}' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ${{ secrets.UNBORING_SECRET_KEY }}' \