Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutmydreams authored Oct 18, 2023
1 parent 9c7e481 commit 488548e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ jobs:
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

- name: Send FEISHUNOTICE on failure
if: failure()
run: |
curl -X POST -H "Content-Type: application/json" -d '{ "msg_type": "post", "content": { "post": { "zh_cn": { "title": "项目更新通知", "content": [ [{ "tag": "text", "text": "Flutter 项目部署失败: " }, { "tag": "a", "text": "请查阅 GitHub workflow", "href": "https://github.com/BuidlerDAO/oasis_circle_web_build/actions" } ] ] } } } }' ${{ secrets.FEISHUNOTICE_URL }}

0 comments on commit 488548e

Please sign in to comment.