File tree Expand file tree Collapse file tree 2 files changed +44
-61
lines changed
Expand file tree Collapse file tree 2 files changed +44
-61
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ when :
3+ - event : cron
4+ cron : translation-sync
5+
6+ variables :
7+ - &ubuntu_image 'ubuntu'
8+ - &git_action_plugin 'quay.io/thegeeklab/wp-git-action:2'
9+
10+ steps :
11+ - name : translation-update
12+ image : *ubuntu_image
13+ commands :
14+ - apt update
15+ - ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
16+ - apt install -y qt6-l10n-tools git curl
17+ - rm translations/*.ts
18+ - git checkout translations/desktop_en.ts
19+ - /usr/lib/qt6/bin/lupdate src -no-obsolete -ts translations/desktop_en.ts
20+ - curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
21+ - . ~/.profile
22+ - tx push -s
23+ - rm -rf /tmp/tx
24+ - tx pull --force --all
25+ - rm tx LICENSE
26+ environment :
27+ TX_TOKEN :
28+ from_secret : tx_token
29+
30+ - name : translation-push
31+ image : *git_action_plugin
32+ settings :
33+ action :
34+ - commit
35+ - push
36+ author_email : devops@opencloud.eu
37+ author_name : opencloudeu
38+ branch : ${CI_REPO_DEFAULT_BRANCH}
39+ empty_commit : false
40+ message : ' [tx] updated from transifex'
41+ netrc_password :
42+ from_secret : github_token
43+ netrc_username :
44+ from_secret : github_username
You can’t perform that action at this time.
0 commit comments