From 4c492976769b076d9e30254345ee526872bc54bf Mon Sep 17 00:00:00 2001 From: Dustin Schau Date: Fri, 8 Dec 2023 11:15:18 -0800 Subject: [PATCH] chore: add webhook cron --- .github/workflows/webhooks.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/webhooks.yml diff --git a/.github/workflows/webhooks.yml b/.github/workflows/webhooks.yml new file mode 100644 index 00000000..0dfb5e83 --- /dev/null +++ b/.github/workflows/webhooks.yml @@ -0,0 +1,13 @@ +name: API Client Summary +on: + schedule: + # Runs at 08:00 UTC (12:00 AM PST) every Thursday + - cron: '0 8 * * 4' +jobs: + webhook-invocation: + runs-on: ubuntu-latest + + steps: + - name: Invoke Webhook + run: | + curl -X POST -H "Content-Type: application/json" ${{ secrets.API_CLIENT_URL }}