Skip to content

Merge pull request #57 from nada-deriv/nada/translation-test #2

Merge pull request #57 from nada-deriv/nada/translation-test

Merge pull request #57 from nada-deriv/nada/translation-test #2

name: Sync translations
on:
push:
branches:
- 'master'
jobs:
sync_translations:
runs-on: ubuntu-latest
steps:
- name: Checkout to master branch
uses: actions/checkout@v3
- name: Sync translations
uses: deriv-com/translations/.github/actions/extract_and_sync_translations@main
with:
PROJECT_NAME: ${{ env.VITE_PROJECT_NAME }}
CROWDIN_BRANCH_NAME: ${{ env.VITE_CROWDIN_BRANCH_NAME }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
R2_BUCKET_NAME: ${{ secrets.R2_BUCKET_NAME }}