Update maven.yml

This commit is contained in:
Hax 2019-11-16 21:55:30 +01:00 committed by GitHub
parent 33a74d58cc
commit 67e8017f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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