uniswap-interface-uncensored/.github/workflows/crowdin.yaml

27 lines
637 B
YAML
Raw Normal View History

name: Crowdin Upload
on:
push:
branches:
- main
jobs:
upload-sources:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarn i18n:extract
- name: Upload Crowdin sources
uses: crowdin/github-action@1.1.0
with:
2021-05-29 06:06:15 +03:00
upload_sources: true
download_translations: false
project_id: 458284
2021-05-29 05:55:29 +03:00
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN_SECRET }}
2021-05-29 07:15:07 +03:00
source: 'src/locales/en-US.po'
2021-05-29 23:48:16 +03:00
translation: 'src/locales/%locale%.po'
env:
2021-05-29 06:07:15 +03:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}