Skip to content

feat: add GitHub workflow to pull translations from transifex #4

feat: add GitHub workflow to pull translations from transifex

feat: add GitHub workflow to pull translations from transifex #4

name: "Push translation source and German translation to Transifex"
on:
push:
branches:
# TODO: run on master once https://github.com/owncloud/ios-sdk/pull/112 is merged
# - master
- feature/xcstrings-transition-tx-sync
permissions: {}
jobs:
push-translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: l10n-push-source
uses: transifex/cli-action@v2
with:
token: ${{ secrets.TX_TOKEN }}
args: push -s --skip
- name: work around https://github.com/transifex/cli-action/pull/5
run: rm -rf /tmp/tx/tx
- name: l10n-push-de
uses: transifex/cli-action@v2
with:
token: ${{ secrets.TX_TOKEN }}
args: push -t -l de --skip