Skip to content

Commit 07b3779

Browse files
authored
Update discord-webhook.yml
1 parent cd980e3 commit 07b3779

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/discord-webhook.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,53 +28,53 @@ jobs:
2828
run: |
2929
curl -H "Content-Type: application/json" \
3030
-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 }}
3232
3333
- name: Send notification to Discord for Pull Request
3434
if: github.event_name == 'pull_request'
3535
run: |
3636
curl -H "Content-Type: application/json" \
3737
-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 }}
3939
4040
- name: Send notification to Discord for Pull Request Review
4141
if: github.event_name == 'pull_request_review'
4242
run: |
4343
curl -H "Content-Type: application/json" \
4444
-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 }}
4646
4747
- name: Send notification to Discord for Issues
4848
if: github.event_name == 'issues'
4949
run: |
5050
curl -H "Content-Type: application/json" \
5151
-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 }}
5353
5454
- name: Send notification to Discord for Release
5555
if: github.event_name == 'release'
5656
run: |
5757
curl -H "Content-Type: application/json" \
5858
-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 }}
6060
6161
- name: Send notification to Discord for Check Run
6262
if: github.event_name == 'check_run'
6363
run: |
6464
curl -H "Content-Type: application/json" \
6565
-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 }}
6767
6868
- name: Send notification to Discord for Check Suite
6969
if: github.event_name == 'check_suite'
7070
run: |
7171
curl -H "Content-Type: application/json" \
7272
-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 }}
7474
7575
- name: Send notification to Discord for Deployment
7676
if: github.event_name == 'deployment'
7777
run: |
7878
curl -H "Content-Type: application/json" \
7979
-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

Comments
 (0)