mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
fix sync translations?
This commit is contained in:
parent
89ec36d03d
commit
42a038b807
6
.github/workflows/build_master.yml
vendored
6
.github/workflows/build_master.yml
vendored
@ -46,8 +46,12 @@ jobs:
|
||||
cargo install mdbook-codename
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
mdbook build
|
||||
|
||||
# Cat hacktricks-preprocessor.log
|
||||
#- name: Cat hacktricks-preprocessor.log
|
||||
|
9
.github/workflows/translate_af.yml
vendored
9
.github/workflows/translate_af.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_de.yml
vendored
9
.github/workflows/translate_de.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_el.yml
vendored
9
.github/workflows/translate_el.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_es.yml
vendored
9
.github/workflows/translate_es.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name '*.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_fr.yml
vendored
9
.github/workflows/translate_fr.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_it.yml
vendored
9
.github/workflows/translate_it.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_ja.yml
vendored
9
.github/workflows/translate_ja.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_ko.yml
vendored
9
.github/workflows/translate_ko.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_pl.yml
vendored
9
.github/workflows/translate_pl.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_pt.yml
vendored
9
.github/workflows/translate_pt.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_sr.yml
vendored
9
.github/workflows/translate_sr.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_sw.yml
vendored
9
.github/workflows/translate_sw.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_tr.yml
vendored
9
.github/workflows/translate_tr.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
9
.github/workflows/translate_uk.yml
vendored
9
.github/workflows/translate_uk.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
||||
|
9
.github/workflows/translate_zh.yml
vendored
9
.github/workflows/translate_zh.yml
vendored
@ -104,8 +104,13 @@ jobs:
|
||||
git push --set-upstream origin "$BRANCH"
|
||||
|
||||
# Build the mdBook
|
||||
- name: Clean build directory
|
||||
run: rm -rf ./book 2>/dev/null
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
run: |
|
||||
git checkout "$BRANCH"
|
||||
mdbook build
|
||||
|
||||
# Login in AWs
|
||||
- name: Configure AWS credentials using OIDC
|
||||
@ -123,4 +128,4 @@ jobs:
|
||||
aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||
echo "Sync completed"
|
||||
echo "Cat 3 files from the book"
|
||||
find . -type f -name '*.md' -print | head -n 3 | xargs -r cat
|
||||
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat
|
Loading…
x
Reference in New Issue
Block a user