1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
This commit is contained in:
TheBusyBiscuit 2020-02-06 20:25:07 +01:00
commit f9987d1308
2 changed files with 20 additions and 1 deletions

19
.github/workflows/translations.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Translation Notifier
on:
push:
branches:
- master
paths:
- 'src/main/resources/languages/**_en.yml'
jobs:
notify:
name: Translation-Notifier
runs-on: ubuntu-latest
steps:
- name: Discord Notification
uses: Ilshidur/action-discord@master
with:
args: '<@&665202905271369776> Slimefun4''s language files have been updated! https://gitlocalize.com/repo/3841'
env:
DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }}