Skip to content

Push JSON to Locize #128

Push JSON to Locize

Push JSON to Locize #128

Workflow file for this run

name: Push JSON to Locize
on:
workflow_dispatch:
jobs:
push-locize:
name: "Push JSON to Locize"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./translations
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install poetry
poetry install
# Run create_translated_operations.py, -u to show output
- name: Create translated operations json
working-directory: ./translations
env:
LOCIZE_API_KEY: ${{ secrets.LOCIZE_API_KEY }}
LOCIZE_PROJECT_ID: ${{ secrets.LOCIZE_PROJECT_ID }}
run: |
poetry run python -u create_translation_json.py