Update maven.yml
This commit is contained in:
parent
33a74d58cc
commit
67e8017f68
1 changed files with 12 additions and 1 deletions
13
.github/workflows/maven.yml
vendored
13
.github/workflows/maven.yml
vendored
|
|
@ -30,4 +30,15 @@ jobs:
|
|||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
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