WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b13e808

Browse files
committed
Added discord webhook to deploy
1 parent 88be200 commit b13e808

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ jobs:
2828
SSH_USER: ${{ secrets.SSH_USER }}
2929

3030
- name: Deploy Site
31-
run: ssh my-droplet '~/redeploy-site.sh'
31+
run: ssh my-droplet '~/redeploy-site.sh'
32+
33+
- name: Discord Webhook
34+
run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚀 Deployment Successful"

0 commit comments

Comments
 (0)