Skip to content

Commit 9aedd06

Browse files
authored
Update deploy.yml
1 parent d244cab commit 9aedd06

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ jobs:
5959
with:
6060
path: .vitepress/dist
6161

62+
- name: Post to a Slack channel
63+
uses: slackapi/[email protected]
64+
with:
65+
method: chat.postMessage
66+
token: ${{ secrets.SLACK_BOT_TOKEN }}
67+
payload: |
68+
channel: ${{ secrets.SLACK_CHANNEL_ID }}
69+
text: "Greetings <@channel>!"
70+
6271
deploy:
6372
environment:
6473
name: github-pages
@@ -69,4 +78,4 @@ jobs:
6978
steps:
7079
- name: "🚀 deploy to github pages"
7180
id: deployment
72-
uses: actions/deploy-pages@v4
81+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)