diff --git a/.github/workflows/sync-translations.yml b/.github/workflows/sync-translations.yml index bea2a6bf..8c7b9c02 100644 --- a/.github/workflows/sync-translations.yml +++ b/.github/workflows/sync-translations.yml @@ -15,13 +15,11 @@ jobs: - name: Sync translations uses: deriv-com/translations/.github/actions/extract_and_sync_translations@main with: - PROJECT_NAME: ${{ env.PROJECT_NAME }} - CROWDIN_BRANCH_NAME: ${{ env.CROWDIN_BRANCH_NAME }} - # CROWDIN_BASE_URL: ${{ env.CROWDIN_BASE_URL }} - # CROWDIN_BASE_PATH: ${{ env.CROWDIN_BASE_PATH }} - CROWDIN_PROJECT_ID: ${{ env.CROWDIN_PROJECT_ID }} - CROWDIN_PERSONAL_TOKEN: ${{ env.CROWDIN_PERSONAL_TOKEN }} - R2_ACCOUNT_ID: ${{ env.R2_ACCOUNT_ID }} - R2_ACCESS_KEY_ID: ${{ env.R2_ACCESS_KEY_ID }} - R2_SECRET_ACCESS_KEY: ${{ env.R2_SECRET_ACCESS_KEY }} - R2_BUCKET_NAME: ${{ env.R2_BUCKET_NAME }} \ No newline at end of file + PROJECT_NAME: ${{ env.VITE_PROJECT_NAME }} + CROWDIN_BRANCH_NAME: ${{ env.VITE_CROWDIN_BRANCH_NAME }} + CROWDIN_PROJECT_ID: ${{ env.VITE_CROWDIN_PROJECT_ID }} + CROWDIN_PERSONAL_TOKEN: ${{ env.VITE_CROWDIN_PERSONAL_TOKEN }} + R2_ACCOUNT_ID: ${{ env.VITE_R2_ACCOUNT_ID }} + R2_ACCESS_KEY_ID: ${{ env.VITE_R2_ACCESS_KEY_ID }} + R2_SECRET_ACCESS_KEY: ${{ env.VITE_R2_SECRET_ACCESS_KEY }} + R2_BUCKET_NAME: ${{ env.VITE_R2_BUCKET_NAME }} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index e214dd4d..d08ebe98 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,7 +6,7 @@ import { initializeI18n, TranslationProvider } from '@deriv-com/translations'; import AppContent from './routes/AppContent'; const i18nInstance = initializeI18n({ - cdnUrl: `https://pub-5ce11fcb15f34c0a9ce8ba7086d16e6a.r2.dev/${process.env.CROWDIN_PROJECT_ID}/${process.env.CROWDIN_BRANCH_NAME}`, + cdnUrl: `https://pub-5ce11fcb15f34c0a9ce8ba7086d16e6a.r2.dev/${process.env.VITE_CROWDIN_PROJECT_ID}/${process.env.VITE_CROWDIN_BRANCH_NAME}`, }); const App = () => {