]> source.dussan.org Git - gitea.git/commitdiff
Automatic update of translations (#2585)
authorJonas Franz <info@jonasfranz.software>
Sat, 23 Sep 2017 16:08:42 +0000 (18:08 +0200)
committerLauris BH <lauris@nix.lv>
Sat, 23 Sep 2017 16:08:42 +0000 (19:08 +0300)
* Adding build step for uploading translations

* Fixing crowdin project name

* Using crowdin plugin

* Changing secret name

* Adding pull: true

.drone.yml

index 14ab25c55ff6b9b3c760e841fca024cc2d27e830..b42f067329dea8b9fb57364c63ef2e83077f808e 100644 (file)
@@ -207,6 +207,17 @@ pipeline:
       event: [ push ]
       branch: [ master ]
 
+  translations:
+    image: jonasfranz/crowdin
+    pull: true
+    secrets: [ crowdin_key ]
+    project_identifier: gitea
+    files:
+      locale_en-US.ini: options/locale/locale_en-US.ini
+    when:
+      event: [ push ]
+      branch: [ master ]
+
   github:
     image: plugins/github-release:1
     pull: true