@@ -28,53 +28,53 @@ jobs:
28
28
run : |
29
29
curl -H "Content-Type: application/json" \
30
30
-d "{\"content\": \"New push event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \
31
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
31
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
32
32
33
33
- name : Send notification to Discord for Pull Request
34
34
if : github.event_name == 'pull_request'
35
35
run : |
36
36
curl -H "Content-Type: application/json" \
37
37
-d "{\"content\": \"New pull request event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \
38
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
38
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
39
39
40
40
- name : Send notification to Discord for Pull Request Review
41
41
if : github.event_name == 'pull_request_review'
42
42
run : |
43
43
curl -H "Content-Type: application/json" \
44
44
-d "{\"content\": \"New pull request review event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \
45
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
45
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
46
46
47
47
- name : Send notification to Discord for Issues
48
48
if : github.event_name == 'issues'
49
49
run : |
50
50
curl -H "Content-Type: application/json" \
51
51
-d "{\"content\": \"New issue event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \
52
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
52
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
53
53
54
54
- name : Send notification to Discord for Release
55
55
if : github.event_name == 'release'
56
56
run : |
57
57
curl -H "Content-Type: application/json" \
58
58
-d "{\"content\": \"New release event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \
59
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
59
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
60
60
61
61
- name : Send notification to Discord for Check Run
62
62
if : github.event_name == 'check_run'
63
63
run : |
64
64
curl -H "Content-Type: application/json" \
65
65
-d "{\"content\": \"New check run completed in repository: ${{ github.repository }}.\"}" \
66
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
66
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
67
67
68
68
- name : Send notification to Discord for Check Suite
69
69
if : github.event_name == 'check_suite'
70
70
run : |
71
71
curl -H "Content-Type: application/json" \
72
72
-d "{\"content\": \"New check suite completed in repository: ${{ github.repository }}.\"}" \
73
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
73
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
74
74
75
75
- name : Send notification to Discord for Deployment
76
76
if : github.event_name == 'deployment'
77
77
run : |
78
78
curl -H "Content-Type: application/json" \
79
79
-d "{\"content\": \"New deployment event in repository: ${{ github.repository }}.\"}" \
80
- https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk
80
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
0 commit comments