diff --git a/README.md b/README.md index 65f4935..70985b8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ ping-slack: id: current-run-conclusion uses: agendrix/get-current-run-conclusion-action@v1.0.0 with: - token: ${{ secrets.GITHUB_TOKEN }} deployments_outcome: ${{ needs.main_deployment.deployment_outcome }} - name: Ping Slack for outcome uses: agendrix/slack-notifier/ping-slack@v1.0.5 diff --git a/action.yml b/action.yml index bc950bb..6016d1a 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: description: > Outcome of the deployment(s). If you want the action to verify multiple deployments, you must stringify. Accepted values are any values from DeploymentOutcome enum: https://github.com/agendrix/wait-for-ecs-service-deployment-action/blob/main/src/ecs/types.ts - Ex: ${{ need/s.deploy.deployment_outcome }} or ${{ toJSON([need/s.deploy-1.deployment_outcome, need/s.deploy-2.deployment_outcome]) }} + Ex: needs.deploy.deployment_outcome or toJSON([needs.deploy-1.deployment_outcome, needs.deploy-2.deployment_outcome]) outputs: conclusion: description: Conclusion of the current workflow run