Create scheduler-cache-events.yml

This commit is contained in:
Fergal Moran
2023-02-21 16:10:10 +00:00
committed by GitHub
parent 4b2875fd3c
commit 0c1b7af67c

View 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