mirror of
https://github.com/fergalmoran/radio-otherway.git
synced 2025-12-22 09:50:29 +00:00
Firebase all the things
This commit is contained in:
6
.github/workflows/scheduler-cache-events.yml
vendored
6
.github/workflows/scheduler-cache-events.yml
vendored
@@ -1,12 +1,12 @@
|
||||
name:
|
||||
Cache Jobs
|
||||
Cache Events
|
||||
on:
|
||||
# Every 5 minutes
|
||||
schedule:
|
||||
- cron: "*/5 * * * *"
|
||||
jobs:
|
||||
cron:
|
||||
cache:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cache outstanding events
|
||||
run: curl -X GET https://external.dev.fergl.ie:3000/api/cron/cache
|
||||
run: curl -X GET https://external.fergl.ie/api/cron/cache
|
||||
|
||||
12
.github/workflows/scheduler-check-reminders.yml
vendored
Normal file
12
.github/workflows/scheduler-check-reminders.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name:
|
||||
Send Reminders
|
||||
on:
|
||||
# Every 5 minutes
|
||||
schedule:
|
||||
- cron: "*/5 * * * *"
|
||||
jobs:
|
||||
reminders:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cache outstanding events
|
||||
run: curl -X GET https://external.fergl.ie/api/cron/reminders
|
||||
Reference in New Issue
Block a user