Skip to content
download-cloud

GitHub Action

Pull resources from Translation Hosting

v2.1 Latest version

Pull resources from Translation Hosting

download-cloud

Pull resources from Translation Hosting

Pull resources from Translation Hosting

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Pull resources from Translation Hosting

uses: simplelocalize/pull@v2.1

Learn more about this action in simplelocalize/pull

Choose a version

Pull resources from Translation Hosting

This Github Action uses official SimpleLocalize CLI.

Learn more: https://simplelocalize.io/docs/integrations/github-actions/

Usage

name: 'My project'
on:
  push:
    branches: [ main, master ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Pull translations
        uses: simplelocalize/pull@v2.1
        with:
          apiKey: <YOUR_API_KEY>
          pullPath: ./my-hosting/
          environment: latest # or 'production'