Skip to content

Commit

Permalink
ci: update TiDB version in the ja full translation workflow (#17620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuiham authored May 27, 2024
1 parent bfa637d commit fb090fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ja-full-translation-google.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
name: Download specified branch of docs repo
with:
ref: "release-7.5"
ref: "release-8.1"
path: "docs"
- uses: actions/setup-node@v4
name: Setup node 18
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Copy translated files to docs repo
run: |
cd docs
git checkout -b i18n-ja-release-7.5
git checkout -b i18n-ja-release-8.1
cd ..
cp -r markdown-translator/output/markdowns/* docs/
Expand All @@ -61,7 +61,7 @@ jobs:
else
echo "No changes detected, skipped"
fi
git push --set-upstream origin i18n-ja-release-7.5
git push --set-upstream origin i18n-ja-release-8.1
dispatch:
runs-on: ubuntu-latest
Expand All @@ -75,4 +75,4 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.DOCS_STAGING }}" \
https://api.github.com/repos/pingcap/docs-staging/actions/workflows/update.yml/dispatches \
-d '{"ref":"main","inputs":{"full": "false", "repo":"${{ github.repository }}","branch":"i18n-ja-release-7.5"}}'
-d '{"ref":"main","inputs":{"full": "false", "repo":"${{ github.repository }}","branch":"i18n-ja-release-8.1"}}'

0 comments on commit fb090fb

Please sign in to comment.