mirror of
https://github.com/meshtastic/web.git
synced 2026-07-31 23:16:37 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
982 B
YAML
33 lines
982 B
YAML
name: Crowdin Upload Sources Action
|
|
|
|
on:
|
|
push:
|
|
# Monitor all .json files within the /i18n/locales/en/ directory.
|
|
# This ensures the workflow triggers if any the English namespace files are modified on the main branch.
|
|
paths:
|
|
- "/apps/web/public/i18n/locales/en/*.json"
|
|
branches: [main]
|
|
workflow_dispatch: # Allow manual triggering
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Upload sources with Crowdin
|
|
uses: crowdin/github-action@v2
|
|
with:
|
|
base_url: "https://meshtastic.crowdin.com/api/v2"
|
|
config: "./apps/web/crowdin.yml"
|
|
upload_sources: true
|
|
upload_translations: false
|
|
download_translations: false
|
|
crowdin_branch_name: "main"
|
|
|
|
env:
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|