Skip to content

Commit

Permalink
fix: remove notifications code
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Oct 22, 2024
1 parent cff6f92 commit c701e1e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/push-ecommerce-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ jobs:
tags: edxops/ecommerce-dev:${{ steps.get-tag-name.outputs.result }}
platforms: linux/amd64,linux/arm64

- name: Send failure notification
if: failure()
uses: dawidd6/action-send-mail@v3
with:
server_address: email-smtp.us-east-1.amazonaws.com
server_port: 465
username: ${{secrets.edx_smtp_username}}
password: ${{secrets.edx_smtp_password}}
subject: Push Image to docker.io/edxops failed in ecommerce
to: [email protected]
from: github-actions <[email protected]>
body: Push Image to docker.io/edxops for ecommerce failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

# Commenting this as we don't have email for red ventures yet
# - name: Send failure notification
# if: failure()
# uses: dawidd6/action-send-mail@v3
# with:
# server_address: email-smtp.us-east-1.amazonaws.com
# server_port: 465
# username: ${{secrets.edx_smtp_username}}
# password: ${{secrets.edx_smtp_password}}
# subject: Push Image to docker.io/edxops failed in ecommerce
# to: [email protected]
# from: github-actions <[email protected]>
# body: Push Image to docker.io/edxops for ecommerce failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
26 changes: 13 additions & 13 deletions .github/workflows/push-registrar-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ jobs:
push: true
target: dev
tags: edxops/registrar-dev:${{ steps.get-tag-name.outputs.result }}
# Commenting this as we don't have email for red ventures yet
# - name: Send failure notification
# if: failure()
# uses: dawidd6/action-send-mail@v3
# with:
# server_address: email-smtp.us-east-1.amazonaws.com
# server_port: 465
# username: ${{secrets.edx_smtp_username}}
# password: ${{secrets.edx_smtp_password}}
# subject: Push Image to docker.io/edxops failed in registrar
# to: [email protected]
# from: github-actions <[email protected]>
# body: Push Image to docker.io/edxops for registrar failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

- name: Send failure notification
if: failure()
uses: dawidd6/action-send-mail@v3
with:
server_address: email-smtp.us-east-1.amazonaws.com
server_port: 465
username: ${{secrets.edx_smtp_username}}
password: ${{secrets.edx_smtp_password}}
subject: Push Image to docker.io/edxops failed in registrar
to: [email protected]
from: github-actions <[email protected]>
body: Push Image to docker.io/edxops for registrar failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit c701e1e

Please sign in to comment.