Skip to content

Commit 86fd3a2

Browse files
committed
t5
1 parent 47483a8 commit 86fd3a2

20 files changed

+31
-146
lines changed

.github/workflows/build_master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
# Build the mdBook
5252
- name: Build mdBook
53-
run: MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
53+
run: MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
5454

5555
# Cat hacktricks-preprocessor.log
5656
#- name: Cat hacktricks-preprocessor.log

.github/workflows/translate_af.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_de.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_el.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_es.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_fr.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_hi.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_it.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_ja.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

.github/workflows/translate_ko.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
done
6262
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
6363
64-
- name: Commit and push changes
65-
run: |
66-
git checkout $BRANCH
67-
git add -A
68-
git commit -m "Translated $LANGUAGE files" || true
69-
git push --set-upstream origin $BRANCH
70-
7164
- name: Build mdBook
7265
run: |
73-
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (cat hacktricks-preprocessor-error.log && exit 1)
66+
MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && exit 1)
7467
7568
# Login in AWs
7669
- name: Configure AWS credentials using OIDC

0 commit comments

Comments
 (0)