Merge pull request #805 from Vizzuality/fix/backend-new-account-url-n… #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |