/letterbot

πŸ“¨ Github Action 으둜 λ§Œλ“  λ””μŠ€μ½”λ“œ, μŠ¬λž™μ— 맀일 μ•„μΉ¨ 8μ‹œμ— λΈŒλ¦¬ν•‘μ„ ν•΄μ£ΌλŠ” λ΄‡μž…λ‹ˆλ‹€

Primary LanguageTypeScriptMIT LicenseMIT

νŽΈμ§€λ΄‡

πŸ“¨ Github Action 으둜 λ§Œλ“  λ””μŠ€μ½”λ“œ, μŠ¬λž™μ— 맀일 μ•„μΉ¨ 8μ‹œμ— λΈŒλ¦¬ν•‘μ„ ν•΄μ£ΌλŠ” λ΄‡μž…λ‹ˆλ‹€

Node.js CI cjaewon/letterbot License stars

μ‚¬μš© μ˜ˆμ‹œ

λ””μŠ€μ½”λ“œ μ›Ήν›…

image

μŠ¬λž™ μ›Ήν›…

image

βš™οΈ 섀정법

cjaewon/letterbot을 λ¨Όμ € Fork ν•΄μ£Όμ„Έμš”. / λ˜λŠ” 클둠 ν•˜μ…”μ„œ 레포λ₯Ό λ§Œλ“œμ…”λ„ λ©λ‹ˆλ‹€. 봇 μž‘λ™μ„ μœ„ν•΄μ„œλŠ” κΉƒν—ˆλΈŒ secrets에 WEATHER_API_KEY 와 WEBHOOKSκ°€ ν•„μš”ν•©λ‹ˆλ‹€

image

WEATHER_API

WEATHER_API_KEYλŠ” Weather Api μ—μ„œ 생성이 κ°€λŠ₯ν•΄μš”.

WEBHOOKS

WEBHOOKSλŠ” μ›Ήν›… 링크λ₯Ό 콀마둜 κ΅¬λΆ„ν•œ κ²ƒμž…λ‹ˆλ‹€ ν•œκ°œ μΌλ•ŒλŠ” https://webhooklinkexample.letterbot λ‘κ°œ μ΄μƒμΌλ–„λŠ”

https://webhooklinkexample1.letterbot,
https://webhooklinkexample2.letterbot,
https://webhooklinkexample3.letterbot,
https://webhooklinkexample4.letterbot

μ΄λ ‡κ²Œ 콀마둜 κ΅¬λΆ„ν•΄μ£Όμ‹œλ©΄ λ©λ‹ˆλ‹€.

그럼 인제 맀일 μ•„μΉ¨ 8μ‹œλ§ˆλ‹€ λ””μŠ€μ½”λ“œ λ˜λŠ” μŠ¬λž™μ— 메세지λ₯Ό λ³΄λ‚΄λ“œλ¦½λ‹ˆλ‹€ λ§Œμ•½ μ‹œκ°„μ„ μˆ˜μ •ν•˜κ³  μ‹ΆμœΌμ‹œλ©΄ .github/workflows/nodejs.yml cron μ‹œκ°„μ„ λ³€κ²½ν•˜μ‹œλ©΄ λ©λ‹ˆλ‹€ (UTC κΈ°μ€€μž…λ‹ˆλ‹€.)