Skip to content

Commit 7f0085c

Browse files
authored
Create weekly-study-reminder.yml
1 parent c47c739 commit 7f0085c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Weekly iOS Study Reminder
2+
3+
on:
4+
schedule:
5+
# 매주 금요일 오후 6시 30분 KST (UTC 9시 30분)
6+
- cron: '30 9 * * 5'
7+
# 수동 실행도 가능하게 (테스트용)
8+
workflow_dispatch:
9+
10+
jobs:
11+
send-reminder:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Send Discord Reminder
16+
run: |
17+
curl -H "Content-Type: application/json" \
18+
-X POST \
19+
-d '{
20+
"content": "<@&1280400671589273692> \n\n📱 **이번 주 iOS 이야기 나눌 시간이에요!** 🎉\n\n✨ 실무에서 궁금했던 것\n🔧 새로 알게 된 팁이나 라이브러리\n🚨 해결하고 싶은 버그나 이슈\n💡 같이 공부하고 싶은 WWDC 세션\n\n가벼운 마음으로 **스터디-채널**에 포럼 글 올려주세요~ \n바쁘면 패스도 당연히 OK! 🙌✨\n\n> 💬 10분짜리 짧은 팁부터 30분 세션까지, 자유롭게!"
21+
}' \
22+
${{ secrets.DISCORD_WEBHOOK_URL }}
23+
24+
- name: Log Success
25+
run: echo "✅ 금요일 알림 전송 완료!"

0 commit comments

Comments
 (0)