Revert "Add a fail notification to builds."
This reverts commit bbcb4e4dff.
This commit is contained in:
@@ -28,16 +28,3 @@ jobs:
|
|||||||
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_BRANCH}} .
|
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_BRANCH}} .
|
||||||
- name: Push Docker Image
|
- name: Push Docker Image
|
||||||
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_BRANCH}}
|
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_BRANCH}}
|
||||||
- name: Send mail
|
|
||||||
if: failure()
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
to: ${{ secrets.MAIL_TO }}
|
|
||||||
from: Gitea <gitea@hostname>
|
|
||||||
subject: ${{ gitea.repository }} ${{gitea.workflow}} ${{ job.status }}
|
|
||||||
priority: high
|
|
||||||
convert_markdown: true
|
|
||||||
html_body: |
|
|
||||||
### Job ${{ job.status }}
|
|
||||||
|
|
||||||
${{ github.repository }}: [${{ github.ref }}@${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/actions)
|
|
||||||
|
|||||||
@@ -24,16 +24,3 @@ jobs:
|
|||||||
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:latest .
|
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:latest .
|
||||||
- name: Push Docker Image
|
- name: Push Docker Image
|
||||||
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:latest
|
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:latest
|
||||||
- name: Send mail
|
|
||||||
if: failure()
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
to: ${{ secrets.MAIL_TO }}
|
|
||||||
from: Gitea <gitea@hostname>
|
|
||||||
subject: ${{ gitea.repository }} ${{gitea.workflow}} ${{ job.status }}
|
|
||||||
priority: high
|
|
||||||
convert_markdown: true
|
|
||||||
html_body: |
|
|
||||||
### Job ${{ job.status }}
|
|
||||||
|
|
||||||
${{ github.repository }}: [${{ github.ref }}@${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/actions)
|
|
||||||
|
|||||||
@@ -26,16 +26,3 @@ jobs:
|
|||||||
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_TAG}} .
|
run: docker build -t gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_TAG}} .
|
||||||
- name: Push Tagged Image
|
- name: Push Tagged Image
|
||||||
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_TAG}}
|
run: docker push gitea.cheezers.org/imcompiling/dakiny-bot:${{env.GIT_TAG}}
|
||||||
- name: Send mail
|
|
||||||
if: failure()
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
to: ${{ secrets.MAIL_TO }}
|
|
||||||
from: Gitea <gitea@hostname>
|
|
||||||
subject: ${{ gitea.repository }} ${{gitea.workflow}} ${{ job.status }}
|
|
||||||
priority: high
|
|
||||||
convert_markdown: true
|
|
||||||
html_body: |
|
|
||||||
### Job ${{ job.status }}
|
|
||||||
|
|
||||||
${{ github.repository }}: [${{ github.ref }}@${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/actions)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user