fkubota / Carrier-Owl

arxiv--> DeepL --> Slack/LINE
MIT License
327 stars 356 forks source link

LINENotifyによる通知機能の追加 #30

Closed ghost closed 3 years ago

ghost commented 3 years ago

Summay

Requirements

Github→settings→secretsで行ったSLACK_IDの登録と同様に、LINE_TOKNEという名前でLINE Notifyのアクセストークンの登録をお願いします。GitHub Actions の workflow/cron.ymlで、secrets.LINE_ID という名前で参照しています。

LINE通知導入手順

  1. LINE Notify(https://notify-bot.line.me/ja/) にアクセスし、ログイン
  2. ページ右上にある自分の名前をクリックし、マイページに移動
  3. マイページ下部でアクセストークン発行

    • 下記ページで発行

      スクリーンショット 2020-12-30 14 23 36
    • 発行時、通知するトークルームを設定できるので同じトークルームに入っている複数名に通知可能

  4. Github Secretsにアクセストークンを追加
    • 先程発行したアクセストークンをLINE_TOKENで追加

表示例

line_notify

fkubota commented 3 years ago

@amagaeru1113 さっそくありがとうございます!