File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,20 +86,12 @@ jobs:
8686
8787 # Wait for Cloudflare Pages deployment and send notification
8888 - name : Wait for Cloudflare Pages deployment
89- uses : arddluma /cloudflare-pages-slack-notification@v4
89+ uses : dfface /cloudflare-pages-slack-notification@v1
9090 with :
9191 apiToken : ${{ secrets.CF_API_TOKEN }}
9292 accountId : ${{ secrets.CF_ACCOUNT_ID }}
9393 project : ${{ secrets.CF_PAGES_PROJECT }}
94- slackWebHook : ${{ secrets.FEISHU_WEBHOOK }}
95- # Comprehensive notification message
96- message : |
97- 🚀 Cloudflare Pages 部署通知
98- - 项目: ${{ secrets.CF_PAGES_PROJECT }}
99- - 环境: production
100- - 提交信息: ${{ steps.commit.outputs.message }}
101- - 提交作者: ${{ steps.commit.outputs.author }}
102- - 提交: ${{ github.sha }}
103- - 分支: ${{ github.ref }}
104- - 仓库: ${{ github.repository }}
105- - 触发事件: ${{ github.event_name }}
94+ notificationType : feishu
95+ webhookUrl : ${{ secrets.FEISHU_WEBHOOK }}
96+ feishuMessage : " 🚀 项目 {{project}} 的部署{{success ? '成功' : '失败'}}!\n 环境: {{environment}}\n 部署URL: {{deploymentUrl}}\n 提交: {{commitUrl}}"
97+ commitHash : ${{ steps.push-changes.outputs.commit-hash }}
You can’t perform that action at this time.
0 commit comments