mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-22 11:51:04 +02:00
fix: ui build error, slack notification for vercel deployment status
This commit is contained in:
parent
2d91336aec
commit
fea0e4d840
2 changed files with 25 additions and 3 deletions
22
.github/workflows/release-deployment.yml
vendored
22
.github/workflows/release-deployment.yml
vendored
|
|
@ -63,3 +63,25 @@ jobs:
|
||||||
body: context.payload.release.body +
|
body: context.payload.release.body +
|
||||||
'\n\n---\n🚀 **Deployed to Production:** ' + deployment_url
|
'\n\n---\n🚀 **Deployed to Production:** ' + deployment_url
|
||||||
});
|
});
|
||||||
|
|
||||||
|
- name: Send Slack notification - Success
|
||||||
|
if: success()
|
||||||
|
uses: slackapi/slack-github-action@v1.26.0
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"text": "✅ Dograh Dashboard - Vercel Deployment Successful - ${{ steps.deploy.outputs.deployment_url || 'URL not captured' }} on ${{ github.ref_name }} by ${{ github.actor }} - <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
|
||||||
|
}
|
||||||
|
|
||||||
|
- name: Send Slack notification - Failure
|
||||||
|
if: failure()
|
||||||
|
uses: slackapi/slack-github-action@v1.26.0
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"text": "❌ Dograh Dashboard - Vercel Deployment Failed on ${{ github.ref_name }} by ${{ github.actor }} - <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue