Skip to content

Commit 874e712

Browse files
authored
Update deploy.yml
1 parent edae4de commit 874e712

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32+
33+
- name: send telegram message on push
34+
uses: appleboy/telegram-action@master
35+
with:
36+
to: ${{ secrets.TELEGRAM_TO }}
37+
token: ${{ secrets.TELEGRAM_TOKEN }}
38+
message: |
39+
${{ github.actor }} created commit:
40+
Commit message: ${{ github.event.commits[0].message }}
41+
42+
Repository: ${{ github.repository }}
43+
44+
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
3245
3346
- name: "🔧 setup pnpm"
3447
uses: pnpm/action-setup@v3
@@ -59,18 +72,6 @@ jobs:
5972
with:
6073
path: .vitepress/dist
6174

62-
- name: send telegram message on push
63-
uses: appleboy/telegram-action@master
64-
with:
65-
to: ${{ secrets.TELEGRAM_TO }}
66-
token: ${{ secrets.TELEGRAM_TOKEN }}
67-
message: |
68-
${{ github.actor }} created commit:
69-
Commit message: ${{ github.event.commits[0].message }}
70-
71-
Repository: ${{ github.repository }}
72-
73-
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
7475

7576
deploy:
7677
environment:

0 commit comments

Comments
 (0)