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 a5153e9 commit cff6f92
Showing 1 changed file with 13 additions and 13 deletions.
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 }}

- 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 }}"
# 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 }}"

0 comments on commit cff6f92

Please sign in to comment.