Skip to content

Commit d0782c9

Browse files
Merge branch 'hotfix/AddSecretInfomationForDeploymentEnv'
2 parents 941701c + cf3e1e1 commit d0782c9

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/github-cicd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
S3_KEY: ${{ secrets.S3_KEY }}
5252
S3_SECRET: ${{ secrets.S3_SECRET }}
5353
JWT_SECRET: ${{ secrets.JWT_SECRET }}
54+
EMAIL_FROM: ${{ secrets.EMAIL_FROM }}
55+
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}
56+
EMAIL_USERNAME: ${{ secrets.EMAIL_USERNAME }}
57+
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
5458
with:
5559
input-files: ${{ github.workspace }}/${{vars.SUBSTITUTE_FILE_PATH}}
5660

src/Api/wwwroot/Templates/ForgotPassword.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143
<!-- Footer -->
144144
<div class="footer">
145-
<p>Need help? <a href="mailto:minhsang.1mil@gmail.com">minhsang.1mil@gmail.com</a></p>
145+
<p>Need help? <a href="mailto:minhsang.work25@gmail.com">minhsang.work25@gmail.com</a></p>
146146
</div>
147147

148148
</div>

tests/Application.SubcutaneousTests/appsettings.Deployment.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
}
1818
},
1919
"EmailSettings": {
20-
"From": "[your email]",
21-
"Host": "[your host]",
20+
"From": "$EMAIL_FROM",
21+
"Host": "$EMAIL_HOST",
2222
"Port": 587,
23-
"Username": "[your email]",
24-
"Password": "[your password]",
25-
"MailType": 1
23+
"Username": "$EMAIL_USERNAME",
24+
"Password": "$EMAIL_PASSWORD"
2625
},
2726
"ForgotPasswordSettings": {
2827
"Uri": "http://localhost:3000/reset-password",

0 commit comments

Comments
 (0)