GitHub Action

Download translation files from locize in your CI/CD workflow.

By using our GitHub Action, you can download your translations from locize in your CI/CD pipeline.

Find all relevant information on the in the official GitHub Marketplace.

uses: locize/download@v1
with:
  project-id: ${{ secrets.LOCIZE_PROJECT_ID }}

example workflow

jobs:
  my_job:
    runs-on: ubuntu-latest
    name: download and push
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Download translations
        uses: locize/download@v1
        with:
          project-id: ${{ secrets.LOCIZE_PROJECT_ID }}
      - name: Commit & Push changes
        uses: actions-js/push@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

Last updated