Skip to content

Merge pull request #805 from Vizzuality/fix/backend-new-account-url-n… #220

Merge pull request #805 from Vizzuality/fix/backend-new-account-url-n…

Merge pull request #805 from Vizzuality/fix/backend-new-account-url-n… #220

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