Skip to content

Import WPL events on a CRON Schedule #3

Import WPL events on a CRON Schedule

Import WPL events on a CRON Schedule #3

name: Import WPL events on a CRON Schedule
on:
schedule:
# Runs every Friday at 7:5g0am
- cron: '50 7 * * 5'
push:
branches:
- 'wpl_integration'
jobs:
build:
name: Import WPL events
runs-on: ubuntu-latest
steps:
- name: cURL request
# Hit the API endpoint to trigger an import
run: |
curl -s -X POST https://gxpbljlkxdbipwgpfchh.supabase.co/functions/v1/import-wpl-events \
-d '' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ${{ secrets.SUPABASE_API_KEY }}' \