File tree 2 files changed +17
-9
lines changed 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 35
35
36
36
**step**
37
37
1. **このリポジトリをフォークする**
38
+
39
+ 2. **GitHub Actionsを有効化する**
40
+
41
+ - Actionsタブをクリックし、有効化します。
42
+
43
+ <img src='./data/images/09.png' width='600'>
44
+
38
45
39
- 2 . **webhook urlの取得**
46
+ 3 . **webhook urlの取得**
40
47
- 特定のslackチャンネルに流すための準備を行います。
41
48
- incomming webhookの**webhook url**を取得してください。
42
49
- 参考サイト
48
55
49
56
50
57
51
- 3 . **webhook urlの設定**
52
- - 2で取得した `webhook url` を設定します。
58
+ 4 . **webhook urlの設定**
59
+ - step3で取得した `webhook url` を設定します。
53
60
- 手順
54
61
55
62
a. `settings` をクリック。
56
63
57
64
<img src='./data/images/05.png' width='1000'>
58
65
59
- b. `Secrets` をクリック。
66
+ b. `Secrets` をクリック。
67
+
60
68
c. `New repository secret` をクリック。
61
69
62
70
d. Nameを `SLACK_ID` と入力。Valueを **step2** で取得した`webhook url`を貼り付けます。
65
73
66
74
e. 最後に`Add secret`をクリックして登録完了です。
67
75
68
- 4 . **領域の設定**
76
+ 5 . **領域の設定**
69
77
- 通知させたいarxivの論文の領域を指定します。
70
78
- **(computer scienceの人はこの手順を飛ばしてstep8に進んでも構いません)**
71
79
- `computer science` なら `cs` などそれぞれに名前がついています。以下の手順で確認します。
84
92
85
93
86
94
87
- 5 . **キーワードの設定**
95
+ 6 . **キーワードの設定**
88
96
- `config.yaml` にキーワードとそのキーワードのスコアを設定します。
89
97
- 例(音に関する論文を通知してほしい場合)
90
98
```
103
111
<img src='./data/images/03.png' width='600'>
104
112
105
113
106
- 6 . **通知タイミングの調整**
114
+ 7 . **通知タイミングの調整**
107
115
- デフォルト設定では、日本時間の平日9時50分に通知されるようになっています。この設定で問題ない方はこれで設定完了です。
108
116
- 通知タイミングのカスタマイズは、[こちら](https://github.com/fkubota/Carrier-Owl/blob/93e83a4ab7a67b127a3be2a2f1059dbed7dadbf0/.github/workflows/cron.yml#L6)を変更することで可能です。
109
117
110
- 7 . **push**
118
+ 8 . **push**
111
119
- ここまでの変更がmasterブランチに反映されていれば、これですべての設定が完了したことになります。次の通知タイミングでslackに通知されます。
112
120
113
- 8 . **test**
121
+ 9 . **test**
114
122
- 試しに動かしてみたい場合は、`master` ブランチから `test-send-to-slack` ブランチを作成してください。`test-send-to-slack` ブランチが作られるとgithub actionsが走って問題なければ通知されるはずです。
115
123
- Actionsタブで様子を確認できます。
116
124
You can’t perform that action at this time.
0 commit comments