aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasin <LifeIsAParadox@users.noreply.github.com>2023-09-01 08:01:21 +0200
committerGitHub <noreply@github.com>2023-09-01 08:01:21 +0200
commit97435ffe50c51888b87273142f241cc71f68b0de (patch)
treea2273b75b25da1a28f47761350581ea121042e69
parentd2856ebc6e540a84455d49dd17e3df3d68e52505 (diff)
parentf58f240e62e3d267a2b8a377f4f8f314f4ce08d0 (diff)
downloadSkyblocker-97435ffe50c51888b87273142f241cc71f68b0de.tar.gz
Skyblocker-97435ffe50c51888b87273142f241cc71f68b0de.tar.bz2
Skyblocker-97435ffe50c51888b87273142f241cc71f68b0de.zip
Merge pull request #264 from LifeIsAParadox/translate-notification
Create webhook_translate.yml
-rw-r--r--.github/workflows/webhook_translate.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/webhook_translate.yml b/.github/workflows/webhook_translate.yml
new file mode 100644
index 00000000..af968db2
--- /dev/null
+++ b/.github/workflows/webhook_translate.yml
@@ -0,0 +1,21 @@
+name: translate update
+
+on:
+ push:
+ branches:
+ - master
+ paths:
+ - src/main/resources/assets/skyblocker/lang/en_us.json
+
+jobs:
+ your_job_name:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Discord notification
+ env:
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_TRANSLATE_WEBHOOK }}
+ uses: Ilshidur/action-discord@master
+ with:
+ args: |
+ "<@&1134566053138145330>"
+ "New Strings available at <https://translate.hysky.de/projects/Skyblocker/skyblocker/>"