mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
28 lines
569 B
YAML
28 lines
569 B
YAML
name: Discord Webhook
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
|
|
jobs:
|
|
report:
|
|
|
|
name: Discord Webhook
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'TheBusyBiscuit/Slimefun4'
|
|
|
|
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 }}
|