Skip to content

Commit

Permalink
fix(docs-tidb-operator): update build pdf script (#2926)
Browse files Browse the repository at this point in the history
  • Loading branch information
purelind committed Apr 18, 2024
1 parent 08cbd05 commit abc46ab
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ pipeline {
}
stage('Build pdf') {
options { timeout(time: 45, unit: 'MINUTES') }

steps {
dir("docs-tidb-operator") {
withCredentials([
Expand All @@ -80,8 +79,8 @@ pipeline {
sudo pip3 install boto3
sudo pip3 install awscli
printf "%s\n" ${AWS_ACCESS_KEY} ${AWS_SECRET_KEY} ${AWS_REGION} "json" | aws configure
find -name '*.md' | xargs -d '\n' grep -P '\t' && exit 1
python3 scripts/merge_by_toc.py
grep -RP '\t' * | tee | grep '.md' && exit 1; echo ok
python3 scripts/merge_by_toc.py en/; python3 scripts/merge_by_toc.py zh/;
scripts/generate_pdf.sh
"""
// TODO: uncomment the following lines after the test is passed
Expand Down

0 comments on commit abc46ab

Please sign in to comment.