From 4e2a0ee2f8c703e3e7a6ec9e178bb60c02977fb5 Mon Sep 17 00:00:00 2001 From: AleixMT Date: Tue, 9 Apr 2024 22:44:41 +0200 Subject: [PATCH] meaningless changes to trigger workflows --- .github/workflows/buildAndSendSignatures.yml | 9 +++++---- src/sendEmails.sh | 3 --- templates/template.html | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/buildAndSendSignatures.yml b/.github/workflows/buildAndSendSignatures.yml index 686f8b3..9d010fc 100644 --- a/.github/workflows/buildAndSendSignatures.yml +++ b/.github/workflows/buildAndSendSignatures.yml @@ -14,12 +14,13 @@ env: EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} ALEIXMT_NAME: ${{ secrets.ALEIXMT_NAME }} ALEIXMT_PHONE: ${{ secrets.ALEIXMT_PHONE }} - ALEIXMT_IPHONE: ${{ secrets.ALEIXMT_IPHONE }} - ALEIXMT_EMAIL: ${{ secrets.ALEIXMT_EMAIL }} + ALEIXMT_POSITION: ${{ secrets.ALEIXMT_POSITION }} + ALEIXMT_LINKEDIN: ${{ secrets.ALEIXMT_LINKEDIN }} INFORMATICS_NAME: ${{ secrets.INFORMATICS_NAME }} INFORMATICS_PHONE: ${{ secrets.INFORMATICS_PHONE }} - INFORMATICS_IPHONE: ${{ secrets.INFORMATICS_IPHONE }} - INFORMATICS_EMAIL: ${{ secrets.INFORMATICS_EMAIL }} + INFORMATICS_POSITION: ${{ secrets.INFORMATICS_POSITION }} + INFORMATICS_LINKEDIN: ${{ secrets.INFORMATICS_LINKEDIN }} + jobs: build_and_send_signatures: diff --git a/src/sendEmails.sh b/src/sendEmails.sh index 141c727..5d5e174 100644 --- a/src/sendEmails.sh +++ b/src/sendEmails.sh @@ -5,10 +5,7 @@ PROJECT_FOLDER="$(cd "$(dirname "$(realpath "$0")")/../" &>/dev/null && pwd)" for signature in $@; do pointer="$(echo "${signature}" | tr '[:lower:]' '[:upper:]')_EMAIL" - echo pointer is $pointer email_value="${!pointer}" - echo value is $email_value - echo a secret is $INFORMATICS_EMAIL ${EMAIL_USERNAME} echo curl --url 'smtps://smtp.gmail.com:465' --ssl-reqd --mail-from "${EMAIL_USERNAME}" --mail-rcpt "${email_value}" --user "${EMAIL_USERNAME}:${EMAIL_PASSWORD}" --upload-file "${PROJECT_FOLDER}/out/${signature}.html" curl --url 'smtps://smtp.gmail.com:465' \ --ssl-reqd \ diff --git a/templates/template.html b/templates/template.html index 2bb5240..43899d7 100644 --- a/templates/template.html +++ b/templates/template.html @@ -52,7 +52,7 @@ - + {{email}}