File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4444 working-directory : .
4545 vercel-args : ' --prod'
4646
47+ # Create deployment entry in GitHub
4748 - name : Create GitHub deployment
4849 if : always()
4950 id : deployment
@@ -53,21 +54,20 @@ jobs:
5354 token : ${{ secrets.GITHUB_TOKEN }}
5455 env : production
5556 ref : ${{ github.sha }}
56- override : false
5757
58+ # Update deployment status based on job result
5859 - name : Update deployment status
5960 if : always()
6061 uses : bobheadxi/deployments@v1
6162 with :
6263 step : finish
6364 token : ${{ secrets.GITHUB_TOKEN }}
64- status : ${{ steps.vercel_deploy.outcome == 'success' && 'success' || 'failure' }}
65- env : ${{ steps.deployment.outputs.env }}
65+ status : ${{ job.status }}
66+ env : production
6667 deployment_id : ${{ steps.deployment.outputs.deployment_id }}
6768 env_url : https://devcontext.xyz
68- override : false
69- auto_inactive : true
7069
70+ # Explicitly fail workflow if Vercel deploy failed
7171 - name : Fail job if deployment failed
7272 if : ${{ steps.vercel_deploy.outcome != 'success' }}
7373 run : exit 1
You can’t perform that action at this time.
0 commit comments