1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/.github/workflows/discord-webhook.yml

32 lines
695 B
YAML
Raw Normal View History

name: Discord Webhook
on:
push:
paths:
- 'src/**'
2020-10-10 17:40:45 +00:00
- '!src/main/resources/languages/**'
- 'pom.xml'
jobs:
report:
2020-08-06 07:52:59 +00:00
name: Discord Webhook
runs-on: ubuntu-latest
2020-09-06 15:19:17 +00:00
if: github.repository == 'Slimefun/Slimefun4'
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Set up Java JDK 11
2021-04-05 11:05:35 +00:00
uses: actions/setup-java@v2.0.0
with:
distribution: 'adopt'
java-version: '11'
java-package: jdk
architecture: x64
- name: Run Discord Webhook
uses: Slimefun/discord-webhook@master
with:
id: ${{ secrets.DISCORD_WEBHOOK_ID }}
token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}