Skip to content

Commit

Permalink
ADD: email step
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-marie authored Apr 30, 2024
1 parent a5644b8 commit 47527ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/create-user-mongo-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,15 @@ jobs:
shell: bash
run: |
echo "${{ steps.setup.outputs.connection-string }}"
- name: Send mail
uses: dawidd6/action-send-mail@v3
with:
server_address: mail.your-server.de
server_port: 465
secure: true
username: [email protected]
password: ${{secrets.MAIL_PASSWORD}}
subject: CODE IDP Database Created! ✨
to: ${{ github.event.inputs.email }}
from: The friendly code idp bot
body: 'Your database has been created! 🎉 Your DB ID and Username is: ${{ steps.generate-db-id.outputs.number }} The Password is: ${{ steps.generate-db-pw.outputs.password }} The connection string is: ${{ steps.setup.outputs.connection-string }}'

0 comments on commit 47527ba

Please sign in to comment.