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

Teamsに通知する機能の追加 #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add docs
yumion committed Aug 5, 2022
commit f5b827bae9f576f5b0912f2dfdb7b3b7c96b7d83
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@

- Slackに通知する場合は[こちら](./docs/slack_setup.md)
- LINEに通知する場合は[こちら](./docs/line_setup.md)
- Teamsに通知する場合は[こちら](./docs/teams_setup.md)


4. **webhook urlの設定**
@@ -66,7 +67,7 @@

c. `New repository secret` をクリック。

d. Nameを `SLACK_ID`(または `LINE_TOKEN` ) と入力。Valueを **step2** で取得した`webhook url`(また `line token`)を貼り付けます。
d. Nameを `SLACK_ID`(または `LINE_TOKEN`、Teamsで使用する場合は `TEAMS_ID` ) と入力。Valueを **step2** で取得した`webhook url`(また `line token`)を貼り付けます。

<img src='./data/images/07.png' width='1000'>

15 changes: 15 additions & 0 deletions docs/teams_setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
**webhook urlの取得**

特定のTeamsチャンネルに流すための準備を行います。

1. incomming webhookの**webhook url**を取得してください。
- 参考サイト
- [公式](https://docs.microsoft.com/ja-jp/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook)

- [紹介記事](https://marketingengineercareer.com/teamsbot)

2. slack通知の時と同様、アイコンが設定できます。
- [icon](https://github.com/fkubota/Carrier-Owl/blob/master/data/images/carrier-owl.png)

<img src='../data/images/carrier-owl.png' width='50'>