Skip to content

Merge pull request #802 from Vizzuality/backend/LET-1392-enable-addit… #218

Merge pull request #802 from Vizzuality/backend/LET-1392-enable-addit…

Merge pull request #802 from Vizzuality/backend/LET-1392-enable-addit… #218

name: Push backend translations to Transifex
on:
push:
branches:
- develop
paths:
- 'backend/**'
- '.github/workflows/backend*'
defaults:
run:
working-directory: backend
jobs:
push-translations:
name: Push backend translations to Transifex
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push source strings to Transifex
env:
TRANSIFEX_TOKEN: ${{ secrets.TRANSIFEX_TOKEN }}
ENV: ${{ inputs.env }}
run: |
echo 'Installing the Transifex CLI…'
curl -o- https://raw.githubusercontent.com/transifex/cli/v1.4.1/install.sh | bash
echo 'Pushing the source strings…'
TX_TOKEN=${{ env.TRANSIFEX_TOKEN }} ./tx push -s