This action computes the conclusion of the current workflow.
See action.yml for the list of inputs
and outputs
.
ping-slack:
name: Ping slack to update workflow run conclusion
runs-on: ubuntu-latest
steps:
- name: Get workflow run conclusion
id: current-run-conclusion
uses: agendrix/[email protected]
with:
deployment_outcome: ${{ needs.main_deployment.deployment_outcome }}
- name: Ping Slack for outcome
uses: agendrix/slack-notifier/[email protected]
with:
state: ${{ steps.current-run-conclusion.outputs.conclusion }}
lambda-url: ${{ secrets.slack_lambda_endpoint }}
api-secret: ${{ secrets.slack_api_secret }}