fix sync translations?

This commit is contained in:
carlospolop 2025-05-20 06:40:34 +02:00
parent 89ec36d03d
commit 42a038b807
16 changed files with 110 additions and 31 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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