Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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-lateststeps:
    - name: Checkoutuses: actions/checkout@v2
    - name: Push source file using transifex clientuses: transifex/cli-action@v2with:
    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.

About

Transifex CLI integration for Github actions

Resources

Stars

9 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors