mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
mailtrigger
This commit is contained in:
13
.github/workflows/mailtrigger.yaml
vendored
Normal file
13
.github/workflows/mailtrigger.yaml
vendored
Normal 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 }}'
|
||||||
Reference in New Issue
Block a user