Skip to content

Merge pull request #786 from Vizzuality/backend/LET-1384-admin-notifi… #215

Merge pull request #786 from Vizzuality/backend/LET-1384-admin-notifi…

Merge pull request #786 from Vizzuality/backend/LET-1384-admin-notifi… #215

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