add trolly build notifs
This commit is contained in:
parent
6d740a7703
commit
b7292ebb52
5 changed files with 17 additions and 0 deletions
|
@ -13,6 +13,8 @@ jobs:
|
|||
runs-on: 'docker'
|
||||
|
||||
steps:
|
||||
- name: Notify Action Start
|
||||
run: bash webhook.sh "(Client) Build Action Started at"
|
||||
- name: Setup Java
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
with:
|
||||
|
@ -52,4 +54,6 @@ jobs:
|
|||
BB_PORT: ${{ vars.BB_PORT }}
|
||||
BB_PATH: ${{ vars.BB_PATH }}
|
||||
run: bash push_file.sh Client/build/proguard/BaseBand-Broadway.jar 3849
|
||||
- name: Notify Action Completion
|
||||
run: bash webhook.sh "**(Client)** Build Action Completed at"
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ jobs:
|
|||
runs-on: 'docker'
|
||||
|
||||
steps:
|
||||
- name: Notify Action Start
|
||||
run: bash webhook.sh "**(Installer)** Build Action Started at"
|
||||
- name: Setup Java
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
with:
|
||||
|
@ -32,3 +34,5 @@ jobs:
|
|||
with:
|
||||
name: BaseBand-Installer.jar
|
||||
path: Installer/build/libs/BaseBand-Installer.jar
|
||||
- name: Notify Action Completion
|
||||
run: bash webhook.sh "**(Installer)** Build Action Completed at"
|
|
@ -13,6 +13,8 @@ jobs:
|
|||
runs-on: 'docker'
|
||||
|
||||
steps:
|
||||
- name: Notify Action Start
|
||||
run: bash webhook.sh "**(Loader)** Build Action Started at"
|
||||
- name: Setup Java
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
with:
|
||||
|
@ -41,3 +43,5 @@ jobs:
|
|||
BB_PORT: ${{ vars.BB_PORT }}
|
||||
BB_PATH: ${{ vars.BB_PATH }}
|
||||
run: bash push_file.sh Loader/build/proguard/BaseBand-Loader.jar 3848
|
||||
- name: Notify Action Completion
|
||||
run: bash webhook.sh "**(Loader)** Build Action Completed at"
|
||||
|
|
|
@ -14,6 +14,8 @@ jobs:
|
|||
runs-on: 'docker'
|
||||
|
||||
steps:
|
||||
- name: Notify Action Start
|
||||
run: bash webhook.sh "**(Server)** Build Action Started at"
|
||||
- name: Setup Java
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
with:
|
||||
|
@ -48,3 +50,5 @@ jobs:
|
|||
run: |
|
||||
bash push_file.sh Server/build/libs/BaseBand-Server.jar
|
||||
bash push_file.sh Discord/build/libs/BaseBand-Discord.jar
|
||||
- name: Notify Action Completion
|
||||
run: bash webhook.sh "**(Server)** Build Action Completed at"
|
||||
|
|
1
webhook.sh
Executable file
1
webhook.sh
Executable file
|
@ -0,0 +1 @@
|
|||
curl -i -s -o /dev/null -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"$* $(date)\"}" https://discord.com/api/webhooks/1250323633205940244/yu1v_moeBxWi4YWaRK_s4tNAXUGUJml-E2PbhToccVFo1Ax2_6Iq6R6lEONCKikHBBn4
|
Loading…
Add table
Reference in a new issue