Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Transifex CLI action

Actions
Invoke the Transifex CLI as part of a Github action
v1
Star (5)

Github Action for Transifex CLI

Transifex CLI homepage

Integrate the Transifex CLI within a Github action. Usage:

  1. Make sure your repository has a Transifex CLI configuration. If not, set it up with:

    tx init
    tx add  # Complete the interactive wizard
    git add .tx
    git commit -m "Add Transifex CLI configuration"
  2. Add a Transifex API token to your repository as a repository secret

  3. Use this in your Github action workflow:

    on: [push]
    jobs:
      Push-source-file:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout
            uses: actions/checkout@v2
          - name: Push source file using transifex client
            uses: transifex/cli-action@v1
            with:
              token: ${{ secrets.TX_TOKEN }}

Action options

token (required): The Transifex API token to use for pushing

version (default: latest): The Transifex CLI version to use

args (default: push): Which arguments to pass to the tx command. By default, the CLI will push the source files of all resources configured in .tx/config.

Transifex CLI action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Invoke the Transifex CLI as part of a Github action
v1

Transifex CLI action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.