Merge pull request #395 from nada-deriv/nada/action-fix #625
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync translations | |
on: | |
push: | |
branches: | |
- 'master' | |
schedule: | |
- cron: '0 */12 * * *' | |
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@master | |
with: | |
PROJECT_NAME: ${{ vars.VITE_PROJECT_NAME }} | |
CROWDIN_BRANCH_NAME: ${{ vars.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 }} |