aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYasin <LifeIsAParadox@users.noreply.github.com>2023-09-01 07:31:42 +0200
committerGitHub <noreply@github.com>2023-09-01 07:31:42 +0200
commitf58f240e62e3d267a2b8a377f4f8f314f4ce08d0 (patch)
treeb94d97fd4e9fd79d3632e9837bd768e35164459f /.github/workflows
parent5d34c99a38af9011559260bb1e211468c41edbc6 (diff)
downloadSkyblocker-f58f240e62e3d267a2b8a377f4f8f314f4ce08d0.tar.gz
Skyblocker-f58f240e62e3d267a2b8a377f4f8f314f4ce08d0.tar.bz2
Skyblocker-f58f240e62e3d267a2b8a377f4f8f314f4ce08d0.zip
Create webhook_translate.yml
Diffstat (limited to '.github/workflows')
-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/>"