Skip to content

Commit

Permalink
Merge pull request #815 from culturecreates/feature/issue-807
Browse files Browse the repository at this point in the history
Update build-production-deploy-s3.yml
  • Loading branch information
AbhishekPAnil authored Nov 24, 2023
2 parents 2d2907e + 2d955a6 commit 3c4bee5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-production-deploy-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,4 @@ jobs:

- name: Send Email on Success
if: success()
run: curl -X "POST" "https://api.sendgrid.com/v3/mail/send" -H "Authorization: Bearer ${{ secrets.SENDGRID_API_KEY}}" -H "Content-Type: application/json" --data '{"personalizations": [{"to": [{"email": "${{secrets.SENDGRID_TO_EMAIL}}"}]}],"from": {"email":"${{SENDGRID_FROM_EMAIL}}"},"subject": "Footlight CMS Deployment","content": [{"type": "text/html", "value": "<p>Hi<br><br> We are excited to announce that we have just released a new version of Footlight CMS. The latest release can be found <a href = 'https://github.com/culturecreates/footlight-app/releases/latest'>here</a>.<br><br>Best,<br>Footlight admin</p>"}]}'

run: curl -X "POST" "https://api.sendgrid.com/v3/mail/send" -H "Authorization:Bearer ${{secrets.SENDGRID_API_KEY}}" -H "Content-Type:application.json" --data '{"personalizations":[{"to":[{"email:"${{ secrets.SENDGRID_TO_EMAIL }}""}]}],"from":{"email":"${{ secrets.SENDGRID_FROM_EMAIL }}"},"subject":"Footlight CMS Deployment","content":[{"type:text/html","value":"<p>Hi<br><br>We are excited to announce that we have just released a new version of Footlight CMS. The latest release can be found <a href='https://github.com/culturecreates/footlight-app/releases/latest'>here.</a><br><br>Best,<br>Footlight admin</p>"}]}'

0 comments on commit 3c4bee5

Please sign in to comment.