Skip to content

Commit

Permalink
Read ADMIN_EMAIL from env
Browse files Browse the repository at this point in the history
  • Loading branch information
hammady committed Jul 6, 2024
1 parent 3b35e22 commit cf3f5ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/sls-forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ jobs:
--region ${{ vars.AWS_REGION }} \
--stage ${{ vars.SLSSTAGE }} \
--verbose
env:
ADMIN_EMAIL: ${{ vars.ADMIN_EMAIL }}
2 changes: 1 addition & 1 deletion forwarder/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ frameworkVersion: '3'

params:
default:
admin_email: # set in Serverless Dashboard
admin_email: ${env:ADMIN_EMAIL}
s3_bucket: wwpraymail-${sls:stage}
ses_rule_set: wwpray-feedback-${sls:stage}
email_from: ${file(../common-params.yml):email_from}
Expand Down

0 comments on commit cf3f5ba

Please sign in to comment.