From e97f9da93445dd22495f1375f4d6ef899615ca5a Mon Sep 17 00:00:00 2001 From: Peter Motzko Date: Mon, 27 Nov 2023 23:50:35 +0100 Subject: [PATCH] fix(ci): right way of using secrets / vars --- .github/workflows/update-check.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-check.yml b/.github/workflows/update-check.yml index 8ea035f..536c0e8 100644 --- a/.github/workflows/update-check.yml +++ b/.github/workflows/update-check.yml @@ -29,5 +29,11 @@ jobs: - name: Send notification if: failure() + env: + MAILJET_KEY: ${{ secrets.MAILJET_KEY }} + MAILJET_SECRET: ${{ secrets.MAILJET_SECRET }} + MAILJET_FROM_MAIL: ${{ vars.MAILJET_FROM_MAIL }} + MAILJET_TO_MAIL: ${{ vars.MAILJET_TO_MAIL }} + MAILJET_SUBJECT: ${{ vars.MAILJET_SUBJECT }} run: | ./pipeline/send_mail.sh