I have it set to send a notification on exit, and not show on start (ie: will not notify when it starts deploying, only when finished)
I've tried putting the action in a few different places, but it always shows "IN PROGRESS" as the status on the alert.
Docs suggested moving the action right below - uses: actions/checkout@v2 because the jobs.jobid.name being set prevents the tool from distinguishing when the job is complete. I did not try removing the name from Checkout or higher up in the steps (clarity was more important in the workflow run than the teams notification)
in the end I put the alert at the end of the workflow, because it was being sent prematurely before I moved it there. Set it to not send a notification on deployment failure to avoid ambiguity- if a notification was sent it was a success.
Ticket: https://freshworks.atlassian.net/browse/HCAP-1332
- uses: actions/checkout@v2
because the jobs.jobid.name being set prevents the tool from distinguishing when the job is complete. I did not try removing the name from Checkout or higher up in the steps (clarity was more important in the workflow run than the teams notification)