2 parents b58279b + 719c9ea commit d70cfb7Copy full SHA for d70cfb7
1 file changed
.github/workflows/vercel-notify.yml
@@ -20,8 +20,8 @@ jobs:
20
embeds: |
21
[
22
{
23
- "title": "${{ github.event_type == 'vercel.deployment.success' && '✅ 部署成功' || '❌ 部署失败' }}",
24
- "color": ${{ github.event_type == 'vercel.deployment.success' && 65280 || 16711680 }},
+ "title": "${{ github.event_type == 'vercel.deployment.success' ? '✅ 部署成功' : '❌ 部署失败' }}",
+ "color": ${{ github.event_type == 'vercel.deployment.success' ? 65280 : 16711680 }},
25
"fields": [
26
27
"name": "分支",
@@ -34,6 +34,6 @@ jobs:
34
"inline": false
35
}
36
],
37
- "timestamp": "${{ github.event.head_commit.timestamp }}"
+ "timestamp": "${{ github.event.client_payload.timestamp }}"
38
39
]
0 commit comments