Skip to content

Commit

Permalink
Notification fixes (#19)
Browse files Browse the repository at this point in the history
* Deploy Network

* Add Permissions

* Minor changes

* Concurrency change

* Destroy Network

* Minor changes

* Minor changes

* Fix commit sha

* Minor changes

* Add Tests

* Disable Tests temporarily

* Nightly Build

* Minor fixes

* Big changes

* Minor changes

* Minor changes

* Minor changes

* Notification fixes
  • Loading branch information
bane authored Jan 25, 2024
1 parent 726f0ba commit b1fac17
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/notification-destroy-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
red_color: '#E60012'
succeed_bnt: 'primary'
failed_bnt: 'danger'
url: https://s3.console.aws.amazon.com/s3/buckets/${{ secrets.AWS_S3_BLADE_BUCKET }}?region=${{ vars.AWS_REGION }}&prefix=logs/${{ github.run_id }}/
with:
payload: |
{
Expand Down Expand Up @@ -78,17 +79,16 @@ jobs:
},
"style": "${{ inputs.destroy_network_upload_logs == '' && inputs.destroy_network_terraform_logs == '' && env.succeed_bnt || env.failed_bnt }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Logs"
},
"style": "${{ inputs.destroy_network_upload_logs && env.succeed_bnt || env.failed_bnt }}",
"url": "${{ inputs.destroy_network_upload_logs && env.url || '' }}"
}
{%- if inputs.logs == true %}
,{
"type": "button",
"text": {
"type": "plain_text",
"text": "Logs"
},
"url": "https://s3.console.aws.amazon.com/s3/buckets/${{ secrets.AWS_S3_BLADE_BUCKET }}?region=${{ vars.AWS_REGION }}&prefix=logs/${{ github.run_id }}/"
}
{%- endif %}
]
}
]
Expand Down

0 comments on commit b1fac17

Please sign in to comment.