This Github Action uses official SimpleLocalize CLI.
Learn more: https://simplelocalize.io/docs/integrations/github-actions/
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'