File tree Expand file tree Collapse file tree 1 file changed +35
-10
lines changed Expand file tree Collapse file tree 1 file changed +35
-10
lines changed Original file line number Diff line number Diff line change 9
9
tags : true
10
10
11
11
pipeline :
12
+ download_translations :
13
+ image : jonasfranz/crowdin
14
+ pull : true
15
+ secrets : [ crowdin_key ]
16
+ project_identifier : gitea
17
+ ignore_branch : true
18
+ download : true
19
+ export_dir : options/locale/
20
+ when :
21
+ event : [ push ]
22
+ branch : [ master ]
23
+
24
+ git_push :
25
+ image : appleboy/drone-git-push
26
+ pull : true
27
+ secrets : [ git_push_ssh_key ]
28
+ force : false
29
+ commit : true
30
+ commit_message : " [skip ci] Updated translations via Crowdin"
31
+ when :
32
+ event : [ push ]
33
+ branch : [ master ]
34
+
12
35
pre-build :
13
36
image : webhippie/nodejs:latest
14
37
pull : true
@@ -17,6 +40,7 @@ pipeline:
17
40
- make stylesheets-check
18
41
when :
19
42
event : [ push, tag, pull_request ]
43
+
20
44
build :
21
45
image : webhippie/golang:edge
22
46
pull : true
@@ -212,27 +236,28 @@ pipeline:
212
236
event : [ push ]
213
237
branch : [ master ]
214
238
215
- translations :
239
+ github :
240
+ image : plugins/github-release:1
241
+ pull : true
242
+ secrets : [ github_token ]
243
+ files :
244
+ - dist/release/*
245
+ when :
246
+ event : [ tag ]
247
+
248
+ upload_translations :
216
249
image : jonasfranz/crowdin
217
250
pull : true
218
251
secrets : [ crowdin_key ]
219
252
project_identifier : gitea
220
253
ignore_branch : true
254
+ download : false
221
255
files :
222
256
locale_en-US.ini : options/locale/locale_en-US.ini
223
257
when :
224
258
event : [ push ]
225
259
branch : [ master ]
226
260
227
- github :
228
- image : plugins/github-release:1
229
- pull : true
230
- secrets : [ github_token ]
231
- files :
232
- - dist/release/*
233
- when :
234
- event : [ tag ]
235
-
236
261
discord :
237
262
image : appleboy/drone-discord:1.0.0
238
263
pull : true
You can’t perform that action at this time.
0 commit comments