diff --git a/.github/workflows/docs-localization-upload.yml b/.github/workflows/docs-localization-upload.yml index c332d85267..f459e13940 100644 --- a/.github/workflows/docs-localization-upload.yml +++ b/.github/workflows/docs-localization-upload.yml @@ -4,12 +4,14 @@ on: push: branches: - master + workflow_dispatch: jobs: localizse: permissions: write-all name: "Localisize Docs" runs-on: ubuntu-latest + if: contains(github.event.head_commit.message, '!crowdin upload') || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v4 - name: "Install Python" @@ -30,8 +32,7 @@ jobs: working-directory: ./docs - name: "Build locales" run: - sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l - hi -l ko -l pt -l es -l zh + sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l hi -l ko -l pt -l es -l zh working-directory: ./docs - name: "Crowdin" uses: crowdin/github-action@v2