2020-05-13 20:13:27 +00:00
|
|
|
name: Discord Webhook
|
2020-05-13 20:10:45 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'src/**'
|
|
|
|
- 'pom.xml'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
report:
|
|
|
|
|
2020-08-06 07:52:59 +00:00
|
|
|
name: Discord Webhook
|
2020-05-13 20:10:45 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-05-22 10:13:50 +00:00
|
|
|
if: github.repository == 'TheBusyBiscuit/Slimefun4'
|
2020-05-13 20:10:45 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@master
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
- name: Run Discord Webhook
|
|
|
|
uses: Slimefun/discord-webhook@master
|
|
|
|
with:
|
|
|
|
id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
|
|
|
token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|