Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from Dec 30, 2020
Merged

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

merged 3 commits into from Dec 30, 2020

Conversation

ghost
Copy link

@ghost ghost commented Dec 30, 2020

Summay

  • LINENotifyによる通知の追加
  • cron.ymlの環境変数にLINE_TOKENを追加
  • 折り返し等の軽微な修正

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 and others added 3 commits December 28, 2020 09:36
[Update] readme, prmlink をmaster用に変更
readmeにthanksを追加
@fkubota
Copy link
Owner

fkubota commented Dec 30, 2020

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

@fkubota fkubota changed the base branch from dev to feat/line-notify-pr December 30, 2020 13:51
@fkubota fkubota merged commit b69f725 into fkubota:feat/line-notify-pr Dec 30, 2020
@ghost ghost deleted the dev_line_notify branch December 31, 2020 04:41
@fkubota fkubota mentioned this pull request Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant