Remove translations directory before Crowdin Sync (#22582)
* Remove all translations before Crowdin sync - See https://github.com/github/docs-engineering/issues/1114 * To be reverted Temporarily change the branch name name in Crowdin sync * Remove translations/*/data before Crowdin sync * Fix actions check * Revert "To be reverted" This reverts commit 7bc38fa44a223eb1878d791107b5b5ce6cb50463. * Pin crowdin/github-action
This commit is contained in:
7
.github/workflows/crowdin.yml
vendored
7
.github/workflows/crowdin.yml
vendored
@@ -27,8 +27,13 @@ jobs:
|
||||
- name: Remove unwanted git hooks
|
||||
run: rm .git/hooks/post-checkout
|
||||
|
||||
- name: Remove all translations
|
||||
run: |
|
||||
git rm -rf --quiet translations/*/content
|
||||
git rm -rf --quiet translations/*/data
|
||||
|
||||
- name: Sync
|
||||
uses: crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25
|
||||
uses: crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed
|
||||
with:
|
||||
# This option enables the transfer of existing translations in this project to Crowdin.
|
||||
# We explicitly set this to `false` since we only want to use the downloaded translations managed by Crowdin.
|
||||
|
||||
Reference in New Issue
Block a user