From e8873261f573880569eeada09c213e505e897df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guillois?= Date: Thu, 3 Oct 2024 15:10:58 +0200 Subject: [PATCH 1/2] chore: maildev for review apps --- .github/workflows/review-app.yml | 8 ++++++++ .talismanrc | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index f16e4ac91..2324c1a3e 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -24,6 +24,10 @@ env: CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }} ORGA_ID: ${{ secrets.CLEVER_ORG }} PR_NAME: pr${{ github.event.inputs.pull_request_number }} + MAILER_HOST: ${{ secrets.MAILER_HOST }} + MAILER_PORT: ${{ secrets.MAILER_PORT }} + MAILER_USER: ${{ secrets.MAILER_USER }} + MAILER_PASSWORD: ${{ secrets.MAILER_PASSWORD }} jobs: deploy-addons: @@ -102,6 +106,10 @@ jobs: clever env set SENTRY_ENABLED "false" -a $APP_ALIAS clever env set TZ "Etc/UTC" -a $APP_ALIAS clever env set WORKSPACE "@zerologementvacant/server" -a $APP_ALIAS + clever env set MAILER_HOST $MAILER_HOST -a $APP_ALIAS + clever env set MAILER_PORT $MAILER_PORT -a $APP_ALIAS + clever env set MAILER_USER $MAILER_USER -a $APP_ALIAS + clever env set MAILER_PASSWORD $MAILER_PASSWORD -a $APP_ALIAS - name: Scale up for deployment run: clever scale --flavor M -a $APP_ALIAS diff --git a/.talismanrc b/.talismanrc index d8e520229..c68d2b256 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,4 +1,6 @@ fileignoreconfig: +- filename: .github/workflows/review-app.yml + checksum: 00550719490eeb392f0f211567c3e55b50a1512fd25218e8d8bdd349a769649a - filename: README.md checksum: df312ccb4c75fc4c2441a1f7f2c7817ee98ffb3065c78d5d7d6addf6ab129176 - filename: frontend/src/index.tsx From ee7eb60b46806fba41bf75c82efa3df187eee189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guillois?= Date: Thu, 3 Oct 2024 15:10:58 +0200 Subject: [PATCH 2/2] chore: maildev for review apps --- .github/workflows/review-app.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index 2324c1a3e..1677aa40e 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -110,6 +110,7 @@ jobs: clever env set MAILER_PORT $MAILER_PORT -a $APP_ALIAS clever env set MAILER_USER $MAILER_USER -a $APP_ALIAS clever env set MAILER_PASSWORD $MAILER_PASSWORD -a $APP_ALIAS + clever env set MAILER_PROVIDER "nodemailer" -a $APP_ALIAS - name: Scale up for deployment run: clever scale --flavor M -a $APP_ALIAS