-
Notifications
You must be signed in to change notification settings - Fork 3
742 lines (639 loc) · 20 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
on:
push:
branches:
- master
schedule:
- cron: '*/30 * * * *'
jobs:
en_AU:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.missionchief-australia.com/einsaetze.json > Missions/en_AU.json
curl -X GET https://www.missionchief-australia.com/alliance_event_types.json > Events/en_AU.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update en_AU
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pt_BR:
runs-on: ubuntu-latest
continue-on-error: true
needs: en_AU
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.operador193.com/einsaetze.json > Missions/pt_BR.json
curl -X GET https://www.operador193.com/alliance_event_types.json > Events/pt_BR.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update pt_BR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
cs_CZ:
runs-on: ubuntu-latest
continue-on-error: true
needs: pt_BR
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.operacni-stredisko.cz/einsaetze.json > Missions/cs_CZ.json
curl -X GET https://www.operacni-stredisko.cz/alliance_event_types.json > Events/cs_CZ.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update cs_CZ
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
de_DE:
runs-on: ubuntu-latest
continue-on-error: true
needs: cs_CZ
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.leitstellenspiel.de/einsaetze.json > Missions/de_DE.json
curl -X GET https://www.leitstellenspiel.de/alliance_event_types.json > Events/de_DE.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update de_DE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
da_DK:
runs-on: ubuntu-latest
continue-on-error: true
needs: de_DE
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.alarmcentral-spil.dk/einsaetze.json > Missions/da_DK.json
curl -X GET https://www.alarmcentral-spil.dk/alliance_event_types.json > Events/da_DK.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update da_DK
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
es_ES:
runs-on: ubuntu-latest
continue-on-error: true
needs: da_DK
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.centro-de-mando.es/einsaetze.json > Missions/es_ES.json
curl -X GET https://www.centro-de-mando.es/alliance_event_types.json > Events/es_ES.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update es_ES
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
fi_FI:
runs-on: ubuntu-latest
continue-on-error: true
needs: es_ES
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.hatakeskuspeli.com/einsaetze.json > Missions/fi_FI.json
curl -X GET https://www.hatakeskuspeli.com/alliance_event_types.json > Events/fi_FI.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update fi_FI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
fr_FR:
runs-on: ubuntu-latest
continue-on-error: true
needs: fi_FI
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.operateur112.fr/einsaetze.json > Missions/fr_FR.json
curl -X GET https://www.operateur112.fr/alliance_event_types.json > Events/fr_FR.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update fr_FR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
it_IT:
runs-on: ubuntu-latest
continue-on-error: true
needs: fr_FR
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.operatore112.it/einsaetze.json > Missions/it_IT.json
curl -X GET https://www.operatore112.it/alliance_event_types.json > Events/it_IT.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update it_IT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ja_JP:
runs-on: ubuntu-latest
continue-on-error: true
needs: it_IT
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.missionchief-japan.com/einsaetze.json > Missions/ja_JP.json
curl -X GET https://www.missionchief-japan.com/alliance_event_types.json > Events/ja_JP.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update ja_JP
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ko_KR:
runs-on: ubuntu-latest
continue-on-error: true
needs: ja_JP
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.missionchief-korea.com/einsaetze.json > Missions/ko_KR.json
curl -X GET https://www.missionchief-korea.com/alliance_event_types.json > Events/ko_KR.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update ko_KR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
es_MX:
runs-on: ubuntu-latest
continue-on-error: true
needs: ko_KR
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.centro-de-mando.mx/einsaetze.json > Missions/es_MX.json
curl -X GET https://www.centro-de-mando.mx/alliance_event_types.json > Events/es_MX.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update es_MX
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nl_NL:
runs-on: ubuntu-latest
continue-on-error: true
needs: es_MX
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.meldkamerspel.com/einsaetze.json > Missions/nl_NL.json
curl -X GET https://www.meldkamerspel.com/alliance_event_types.json > Events/nl_NL.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update nl_NL
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nb_NO:
runs-on: ubuntu-latest
continue-on-error: true
needs: nl_NL
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.nodsentralspillet.com/einsaetze.json > Missions/nb_NO.json
curl -X GET https://www.nodsentralspillet.com/alliance_event_types.json > Events/nb_NO.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update nb_NO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pl_PL:
runs-on: ubuntu-latest
continue-on-error: true
needs: nb_NO
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.operatorratunkowy.pl/einsaetze.json > Missions/pl_PL.json
curl -X GET https://www.operatorratunkowy.pl/alliance_event_types.json > Events/pl_PL.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update pl_PL
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pt_PT:
runs-on: ubuntu-latest
continue-on-error: true
needs: pl_PL
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.jogo-operador112.com/einsaetze.json > Missions/pt_PT.json
curl -X GET https://www.jogo-operador112.com/alliance_event_types.json > Events/pt_PT.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update pt_PT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ro_RO:
runs-on: ubuntu-latest
continue-on-error: true
needs: pt_PT
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.jocdispecerat112.com/einsaetze.json > Missions/ro_RO.json
curl -X GET https://www.jocdispecerat112.com/alliance_event_types.json > Events/ro_RO.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update ro_RO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ru_RU:
runs-on: ubuntu-latest
continue-on-error: true
needs: ro_RO
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.dispetcher112.ru/einsaetze.json > Missions/ru_RU.json
curl -X GET https://www.dispetcher112.ru/alliance_event_types.json > Events/ru_RU.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update ru_RU
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
sv_SE:
runs-on: ubuntu-latest
continue-on-error: true
needs: ru_RU
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.larmcentralen-spelet.se/einsaetze.json > Missions/sv_SE.json
curl -X GET https://www.larmcentralen-spelet.se/alliance_event_types.json > Events/sv_SE.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update sv_SE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tr_TR:
runs-on: ubuntu-latest
continue-on-error: true
needs: sv_SE
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.112-merkez.com/einsaetze.json > Missions/tr_TR.json
curl -X GET https://www.112-merkez.com/alliance_event_types.json > Events/tr_TR.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update tr_TR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uk_UA:
runs-on: ubuntu-latest
continue-on-error: true
needs: tr_TR
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.dyspetcher101-game.com/einsaetze.json > Missions/uk_UA.json
curl -X GET https://www.dyspetcher101-game.com/alliance_event_types.json > Events/uk_UA.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update uk_UA
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
en_GB:
runs-on: ubuntu-latest
continue-on-error: true
needs: uk_UA
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.missionchief.co.uk/einsaetze.json > Missions/en_GB.json
curl -X GET https://www.missionchief.co.uk/alliance_event_types.json > Events/en_GB.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update en_GB
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
en_US:
runs-on: ubuntu-latest
continue-on-error: true
needs: en_GB
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Update
run: |
git pull
curl -X GET https://www.missionchief.com/einsaetze.json > Missions/en_US.json
curl -X GET https://www.missionchief.com/alliance_event_types.json > Events/en_US.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update en_US
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
sk_SK:
runs-on: ubuntu-latest
continue-on-error: true
needs: en_US
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: update
run: |
git pull
curl -X GET https://www.dispecerske-centrum.com/einsaetze.json > Missions/sk_SK.json
curl -X GET https://www.dispecerske-centrum.com/alliance_event_types.json > Events/sk_SK.json
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update sk_SK
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Python:
runs-on: ubuntu-latest
continue-on-error: true
needs: sk_SK
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install python packages
run: |
python -m pip install --upgrade pip
- name: update
run: |
git pull
python Scripts/Complete.py
python Scripts/Planned.py
python Scripts/Alliance.py
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- name: Prettify code & PUSH
uses: creyD/prettier_action@master
with:
prettier_options: --write **/*.{js,md,json}
commit_message: Update from scripts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}