forked from Alex/Pterodactyl-Panel
Update tests.yml
This commit is contained in:
parent
84ed2f8668
commit
c948a217a4
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@ -65,25 +65,3 @@ jobs:
|
||||
env:
|
||||
TESTING_DB_PORT: ${{ job.services.mysql.ports[3306] }}
|
||||
TESTING_DB_USERNAME: root
|
||||
- name: notify discord
|
||||
if: ${{ failure() }}
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
with:
|
||||
severity: error
|
||||
username: Github Actions
|
||||
color: "#D01124"
|
||||
description: "Tests are currently failing on PHP ${{ matrix.php }}."
|
||||
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
|
||||
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
|
||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
- name: notify discord
|
||||
if: ${{ success() }}
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
with:
|
||||
severity: info
|
||||
username: Github Actions
|
||||
color: "#0F8513"
|
||||
description: Tests passing
|
||||
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
|
||||
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
|
||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
Loading…
Reference in New Issue
Block a user