Skip to content

rename data_model to datamodel (#171) #77

rename data_model to datamodel (#171)

rename data_model to datamodel (#171) #77

name: 🌎 Update project translations
on:
push:
branches:
- master
jobs:
build:
name: Update project translations
runs-on: ubuntu-latest
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
COMPOSE_FILE: .docker/docker-compose.yml
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Transifex
run: |
curl -OL https://github.com/transifex/cli/releases/download/v1.6.5/tx-linux-amd64.tar.gz
tar -xvzf tx-linux-amd64.tar.gz
- name: Start Docker compose
run: |
docker compose --profile qgis up --build -d
docker compose exec signalo init_db.sh wait
- name: Translate
run: |
docker compose run qgis sh -c 'xvfb-run /usr/src/scripts/project-translation-create-source.py /usr/src/project/signalo.qgs'
- name: Push to TX
run: ./tx push --source