Skip to content

Commit

Permalink
meaningless changes to trigger workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Apr 9, 2024
1 parent df76583 commit 4e2a0ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/buildAndSendSignatures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions src/sendEmails.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<small>
<i>
<!-- SUBSTITUTE EMAIL -->
<a href="mailto:email@asbtec.cat">
<a href="mailto:{{email}}">
<!-- AQUÍ EL VOSTRE MAIL x2 -->
{{email}}
</a>
Expand Down

0 comments on commit 4e2a0ee

Please sign in to comment.