Skip to content

Commit dbcaee2

Browse files
authored
build: Notify after build (#18)
1 parent 7631875 commit dbcaee2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,15 @@ jobs:
9292
uses: action-pack/bump@v2
9393
with:
9494
token: ${{ secrets.REPO_ACCESS_TOKEN }}
95+
-
96+
name: Send mail
97+
uses: action-pack/send-mail@v1
98+
with:
99+
to: ${{secrets.MAILTO}}
100+
from: Github Actions <${{secrets.MAILTO}}>
101+
connection_url: ${{secrets.MAIL_CONNECTION}}
102+
subject: Build of ${{ github.event.repository.name }} v${{ steps.meta.outputs.version }} completed
103+
body: |
104+
The build job of ${{ github.event.repository.name }} v${{ steps.meta.outputs.version }} was completed successfully!
105+
106+
See https://github.com/${{ github.repository }}/actions for more information.

0 commit comments

Comments
 (0)