shri-jai commited on
Commit
41e93ee
·
1 Parent(s): 5b9ecc2

feat: notify yml update

Browse files
Files changed (1) hide show
  1. .github/workflows/notify.yml +4 -4
.github/workflows/notify.yml CHANGED
@@ -2,8 +2,8 @@ name: Daily Emotion Check-In Notifications
2
 
3
  on:
4
  schedule:
5
- - cron: "30 3 * * *" # 9 AM IST
6
- - cron: "15 11 * * *" # 4:45 PM IST
7
  workflow_dispatch: {}
8
 
9
  jobs:
@@ -13,7 +13,7 @@ jobs:
13
  steps:
14
  - name: Send morning notification
15
  run: |
16
- curl -X POST "https://yuvabe-ai-yuvabe-app-backend.hf.space/home/notify/all" \
17
  -H "accept: application/json" \
18
  -H "Content-Type: application/json" \
19
  -d '{
@@ -31,7 +31,7 @@ jobs:
31
  steps:
32
  - name: Send evening notification
33
  run: |
34
- curl -X POST "https://yuvabe-ai-yuvabe-app-backend.hf.space/home/notify/all" \
35
  -H "accept: application/json" \
36
  -H "Content-Type: application/json" \
37
  -d '{
 
2
 
3
  on:
4
  schedule:
5
+ - cron: "30 3 * * *" # 9 AM IST
6
+ - cron: "15 11 * * *" # 4:45 PM IST
7
  workflow_dispatch: {}
8
 
9
  jobs:
 
13
  steps:
14
  - name: Send morning notification
15
  run: |
16
+ curl -X POST "${{secrets.NOTIFY_URL}}" \
17
  -H "accept: application/json" \
18
  -H "Content-Type: application/json" \
19
  -d '{
 
31
  steps:
32
  - name: Send evening notification
33
  run: |
34
+ curl -X POST "${{secrets.NOTIFY_URL}}" \
35
  -H "accept: application/json" \
36
  -H "Content-Type: application/json" \
37
  -d '{