mailtrigger

This commit is contained in:
Thomas Ruoff
2022-06-23 23:44:24 +02:00
parent dc3c0da9dd
commit 8c0674f9d9

13
.github/workflows/mailtrigger.yaml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: 15-minute-cron
on:
schedule:
- cron: '*/15 * * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Trigger Mail API route
run: |
curl --request POST \
--url 'https://pfadi-bussle.tomru.space/api/mailtrigger' \
--header 'Authorization: Bearer ${{ secrets.MAIL_TRIGGER_API_SECRET_KEY }}'