mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +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
26
.github/workflows/release-deployment.yml
vendored
26
.github/workflows/release-deployment.yml
vendored
|
|
@ -60,6 +60,28 @@ jobs:
|
|||
owner,
|
||||
repo,
|
||||
release_id,
|
||||
body: context.payload.release.body +
|
||||
body: context.payload.release.body +
|
||||
'\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>"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue