mirror of
https://github.com/fergalmoran/radio-otherway.git
synced 2025-12-22 09:50:29 +00:00
Create scheduler-cache-events.yml
This commit is contained in:
23
.github/workflows/scheduler-cache-events.yml
vendored
Normal file
23
.github/workflows/scheduler-cache-events.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name:
|
||||
Cache Jobs
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow every 5 minutes
|
||||
schedule:
|
||||
- cron: "*/5 * * * *"
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "cron"
|
||||
cron:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Runs a single command using the runners shell
|
||||
- name: Cache outstanding events
|
||||
run: curl -X GET https://external.dev.fergl.ie:3000/api/cron/cache
|
||||
Reference in New Issue
Block a user