From 4248e4bb8ce1917ed036a09fab38f5058e678842 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Sun, 27 Apr 2025 18:28:15 +0200 Subject: [PATCH] q --- .github/workflows/translate_af.yml | 9 ++++++++- .github/workflows/translate_de.yml | 9 ++++++++- .github/workflows/translate_el.yml | 9 ++++++++- .github/workflows/translate_es.yml | 9 ++++++++- .github/workflows/translate_fr.yml | 9 ++++++++- .github/workflows/translate_hi.yml | 9 ++++++++- .github/workflows/translate_it.yml | 9 ++++++++- .github/workflows/translate_ja.yml | 9 ++++++++- .github/workflows/translate_ko.yml | 9 ++++++++- .github/workflows/translate_pl.yml | 9 ++++++++- .github/workflows/translate_pt.yml | 9 ++++++++- .github/workflows/translate_sr.yml | 9 ++++++++- .github/workflows/translate_sw.yml | 9 ++++++++- .github/workflows/translate_tr.yml | 9 ++++++++- .github/workflows/translate_uk.yml | 9 ++++++++- .github/workflows/translate_zh.yml | 9 ++++++++- 16 files changed, 128 insertions(+), 16 deletions(-) diff --git a/.github/workflows/translate_af.yml b/.github/workflows/translate_af.yml index ba80b1159..9ed2388c7 100644 --- a/.github/workflows/translate_af.yml +++ b/.github/workflows/translate_af.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_de.yml b/.github/workflows/translate_de.yml index f58f13087..783c11d4b 100644 --- a/.github/workflows/translate_de.yml +++ b/.github/workflows/translate_de.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_el.yml b/.github/workflows/translate_el.yml index 747aa5358..60fa78ed8 100644 --- a/.github/workflows/translate_el.yml +++ b/.github/workflows/translate_el.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_es.yml b/.github/workflows/translate_es.yml index 83240c5f2..de316bd86 100644 --- a/.github/workflows/translate_es.yml +++ b/.github/workflows/translate_es.yml @@ -87,4 +87,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_fr.yml b/.github/workflows/translate_fr.yml index efce336b1..d60babb05 100644 --- a/.github/workflows/translate_fr.yml +++ b/.github/workflows/translate_fr.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_hi.yml b/.github/workflows/translate_hi.yml index e15c40ce4..1e525de01 100644 --- a/.github/workflows/translate_hi.yml +++ b/.github/workflows/translate_hi.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_it.yml b/.github/workflows/translate_it.yml index b14a24402..b4d92eb89 100644 --- a/.github/workflows/translate_it.yml +++ b/.github/workflows/translate_it.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_ja.yml b/.github/workflows/translate_ja.yml index 841be162b..d043c2430 100644 --- a/.github/workflows/translate_ja.yml +++ b/.github/workflows/translate_ja.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_ko.yml b/.github/workflows/translate_ko.yml index 64e82a7c5..7f99df31d 100644 --- a/.github/workflows/translate_ko.yml +++ b/.github/workflows/translate_ko.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_pl.yml b/.github/workflows/translate_pl.yml index d2cac3cc9..37e5fee34 100644 --- a/.github/workflows/translate_pl.yml +++ b/.github/workflows/translate_pl.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_pt.yml b/.github/workflows/translate_pt.yml index a72d68548..b84cd9525 100644 --- a/.github/workflows/translate_pt.yml +++ b/.github/workflows/translate_pt.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_sr.yml b/.github/workflows/translate_sr.yml index b7ea90c77..d80c25769 100644 --- a/.github/workflows/translate_sr.yml +++ b/.github/workflows/translate_sr.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_sw.yml b/.github/workflows/translate_sw.yml index be1968950..9fd097fa0 100644 --- a/.github/workflows/translate_sw.yml +++ b/.github/workflows/translate_sw.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_tr.yml b/.github/workflows/translate_tr.yml index d1ce03022..ac69ac07e 100644 --- a/.github/workflows/translate_tr.yml +++ b/.github/workflows/translate_tr.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_uk.yml b/.github/workflows/translate_uk.yml index dbfe61a10..ebd3558b1 100644 --- a/.github/workflows/translate_uk.yml +++ b/.github/workflows/translate_uk.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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 diff --git a/.github/workflows/translate_zh.yml b/.github/workflows/translate_zh.yml index e50fbf04e..fc1a1722b 100644 --- a/.github/workflows/translate_zh.yml +++ b/.github/workflows/translate_zh.yml @@ -88,4 +88,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete + run: | + echo "Current branch:" + git rev-parse --abbrev-ref HEAD + echo "Syncing $BRANCH to S3" + 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