Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Commit 4a82742

Browse files
committed
fix: use environment variables for notifications
1 parent 1b63218 commit 4a82742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

serverless.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ custom:
3333
webpack:
3434
webpackConfig: ./webpack.config.js
3535
includeModules: true
36-
notification:
36+
notification: # serverless-plugin-notification-ojongerius
3737
webhook:
3838
url: ${env:GITTER_WEBHOOK}
39-
notifications:
39+
notifications: # serverless-plugin-aws-alerts
4040
- protocol email
41-
41+
endpoint ${env:SERVERLESS_EMAIL_NOTIFICATIONS}
4242
- protocol https # Announce on Gitter
43-
endpoint https://webhooks.gitter.im/e/957145b550e13c6d3a80
43+
endpoint ${env:GITTER_WEBHOOK}
4444
alerts:
4545
stages: # Optionally - select which stages to deploy alarms to
4646
- production

0 commit comments

Comments
 (0)