Update maven.yml
This commit is contained in:
parent
33a74d58cc
commit
67e8017f68
1 changed files with 12 additions and 1 deletions
11
.github/workflows/maven.yml
vendored
11
.github/workflows/maven.yml
vendored
|
|
@ -31,3 +31,14 @@ jobs:
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: /home/Bots/deploy.sh
|
script: /home/Bots/deploy.sh
|
||||||
|
- name: Send Webhook Notification
|
||||||
|
if: always()
|
||||||
|
env:
|
||||||
|
JOB_STATUS: ${{ job.status }}
|
||||||
|
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
|
||||||
|
HOOK_OS_NAME: ${{ runner.os }}
|
||||||
|
WORKFLOW_NAME: ${{ github.workflow }}
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/DiscordHooks/github-actions-discord-webhook.git webhook
|
||||||
|
bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL
|
||||||
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue