From 7f13f24c1083a89a9a00221161792eb8c169874b Mon Sep 17 00:00:00 2001 From: S Dev Aravind <sdev@dexlock.com> Date: Thu, 23 Nov 2023 17:43:26 +0530 Subject: [PATCH] Reverted html page for successfull deployment --- .github/workflows/build-production-deploy-s3.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-production-deploy-s3.yml b/.github/workflows/build-production-deploy-s3.yml index b452abda0..bdd65632b 100644 --- a/.github/workflows/build-production-deploy-s3.yml +++ b/.github/workflows/build-production-deploy-s3.yml @@ -39,5 +39,4 @@ jobs: - name: Send Email on Success if: success() - run: curl --request POST --url https://api.sendgrid.com/v3/mail/send --header "Authorization:Bearer ${{ secrets.SENDGRID_API_KEY }}" --header "Content-Type:application/json" --data '{"personalizations":[{"to":[{"email":"${{ secrets.SENDGRID_TO_EMAIL }}"}],"subject":"Footlight CMS Deployment"}],"from":{"email":"${{ secrets.SENDGRID_FROM_EMAIL }}"},"content":[{"type":"text/html","value":"${{ vars.NEW_RELEASE_HTML_PAGE }}"}]}' - + 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>"}]}' \ No newline at end of file