Skip to content

Commit

Permalink
fix deploy slack
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 7, 2024
1 parent 5fc0297 commit 4e85230
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

if: |
always() &&
needs.terraform.result == 'success' || needs.terraform.result == 'skipped' &&
(needs.terraform.result == 'success' || needs.terraform.result == 'skipped') &&
needs.rubocop.result == 'success' &&
needs.rspec.result == 'success'
steps:
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: |
Your deployment of [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})
has failed'
Your deployment of ${{ github.even.pull_request.title }} <https://${{ github.event.pull_request.html_url }}|#${{ github.event.number }}
has failed
with:
status: ${{ job.status }}
emoji: ":error:"

0 comments on commit 4e85230

Please sign in to comment.