add discord notifications
This commit is contained in:
parent
6e8d038a6a
commit
80a9a61251
9
.github/workflows/dev-image.yml
vendored
9
.github/workflows/dev-image.yml
vendored
@ -71,3 +71,12 @@ jobs:
|
|||||||
name: Inspect image
|
name: Inspect image
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect albertoxamin/bang:dev
|
docker buildx imagetools inspect albertoxamin/bang:dev
|
||||||
|
|
||||||
|
- name: Notify discord
|
||||||
|
uses: th0th/notify-discord@v0.4.1
|
||||||
|
if: ${{ always() }}
|
||||||
|
env:
|
||||||
|
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
|
GITHUB_JOB_NAME: "Docker image :dev"
|
||||||
|
GITHUB_JOB_STATUS: ${{ job.status }}
|
||||||
|
9
.github/workflows/docker-image.yml
vendored
9
.github/workflows/docker-image.yml
vendored
@ -61,3 +61,12 @@ jobs:
|
|||||||
name: Inspect image
|
name: Inspect image
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect albertoxamin/bang:latest
|
docker buildx imagetools inspect albertoxamin/bang:latest
|
||||||
|
|
||||||
|
- name: Notify discord
|
||||||
|
uses: th0th/notify-discord@v0.4.1
|
||||||
|
if: ${{ always() }}
|
||||||
|
env:
|
||||||
|
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
|
GITHUB_JOB_NAME: "Docker image main :latest"
|
||||||
|
GITHUB_JOB_STATUS: ${{ job.status }}
|
||||||
|
11
.github/workflows/test-backend.yml
vendored
11
.github/workflows/test-backend.yml
vendored
@ -25,4 +25,13 @@ jobs:
|
|||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
python -m pytest
|
python -m pytest -p no:warnings
|
||||||
|
|
||||||
|
- name: Notify discord
|
||||||
|
uses: th0th/notify-discord@v0.4.1
|
||||||
|
if: ${{ always() }}
|
||||||
|
env:
|
||||||
|
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
|
GITHUB_JOB_NAME: "Backend tests"
|
||||||
|
GITHUB_JOB_STATUS: ${{ job.status }}
|
||||||
|
Loading…
Reference in New Issue
Block a user