Skip to content

Commit

Permalink
Merge pull request #936 from MTES-MCT/maildev-review-app
Browse files Browse the repository at this point in the history
chore: maildev for review apps
  • Loading branch information
loicguillois authored Oct 3, 2024
2 parents c61d9fc + ee7eb60 commit ef8a64c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -102,6 +106,11 @@ 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
clever env set MAILER_PROVIDER "nodemailer" -a $APP_ALIAS
- name: Scale up for deployment
run: clever scale --flavor M -a $APP_ALIAS
Expand Down
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fileignoreconfig:
- filename: .github/workflows/review-app.yml
checksum: 00550719490eeb392f0f211567c3e55b50a1512fd25218e8d8bdd349a769649a
- filename: README.md
checksum: df312ccb4c75fc4c2441a1f7f2c7817ee98ffb3065c78d5d7d6addf6ab129176
- filename: frontend/src/index.tsx
Expand Down

0 comments on commit ef8a64c

Please sign in to comment.