mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 21:47:38 +00:00
## Summary - Replaces all `depot-ubuntu-24.04` runners with `ubuntu-latest` - Replaces all `depot-ubuntu-24.04-8` runners with `ubuntu-latest-8-cores` - Updates storybook build cache keys in ci-front.yaml to reflect the runner name change Reverts the temporary Depot migration introduced in #18163 / #18179 across all 23 workflow files.
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: 'Push docs to Crowdin'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
push:
|
|
branches: ['main']
|
|
paths:
|
|
- 'packages/twenty-docs/**/*.mdx'
|
|
- '!packages/twenty-docs/l/**'
|
|
- 'packages/twenty-docs/navigation/navigation.template.json'
|
|
- '.github/crowdin-docs.yml'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
|
|
|
jobs:
|
|
push_docs:
|
|
name: Push documentation to Crowdin
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ github.token }}
|
|
ref: ${{ github.ref }}
|
|
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/yarn-install
|
|
|
|
- name: Generate navigation template for Crowdin
|
|
run: yarn docs:generate-navigation-template
|
|
|
|
- name: Upload docs to Crowdin
|
|
uses: crowdin/github-action@v2
|
|
with:
|
|
upload_sources: true
|
|
upload_translations: false
|
|
download_translations: false
|
|
localization_branch_name: i18n-docs
|
|
base_url: 'https://twenty.api.crowdin.com'
|
|
config: '.github/crowdin-docs.yml'
|
|
env:
|
|
# Docs translations project
|
|
CROWDIN_PROJECT_ID: '2'
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
|
|