diff --git a/.github/workflows/translate_af.yml b/.github/workflows/translate_af.yml index 804afe44d..54410f676 100644 --- a/.github/workflows/translate_af.yml +++ b/.github/workflows/translate_af.yml @@ -116,4 +116,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 2f83fefa1..fc7a9a463 100644 --- a/.github/workflows/translate_de.yml +++ b/.github/workflows/translate_de.yml @@ -116,4 +116,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 8857a75b9..f7991884f 100644 --- a/.github/workflows/translate_el.yml +++ b/.github/workflows/translate_el.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_es.yml b/.github/workflows/translate_es.yml index 8322446a9..c9b9556da 100644 --- a/.github/workflows/translate_es.yml +++ b/.github/workflows/translate_es.yml @@ -116,4 +116,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 046fe3b20..ee692049b 100644 --- a/.github/workflows/translate_fr.yml +++ b/.github/workflows/translate_fr.yml @@ -116,4 +116,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 b5b4ec27c..255e65d9d 100644 --- a/.github/workflows/translate_it.yml +++ b/.github/workflows/translate_it.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_ja.yml b/.github/workflows/translate_ja.yml index 9c635e1da..bcd0a791d 100644 --- a/.github/workflows/translate_ja.yml +++ b/.github/workflows/translate_ja.yml @@ -116,4 +116,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 d39c84266..c604ffe3c 100644 --- a/.github/workflows/translate_ko.yml +++ b/.github/workflows/translate_ko.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_pl.yml b/.github/workflows/translate_pl.yml index 0dd53dd0c..ab0644387 100644 --- a/.github/workflows/translate_pl.yml +++ b/.github/workflows/translate_pl.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_pt.yml b/.github/workflows/translate_pt.yml index e8842d728..07d5d15ea 100644 --- a/.github/workflows/translate_pt.yml +++ b/.github/workflows/translate_pt.yml @@ -116,4 +116,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 4f80bc8d3..1a991f39d 100644 --- a/.github/workflows/translate_sr.yml +++ b/.github/workflows/translate_sr.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_sw.yml b/.github/workflows/translate_sw.yml index 4c63a2558..bf2adf0cc 100644 --- a/.github/workflows/translate_sw.yml +++ b/.github/workflows/translate_sw.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_tr.yml b/.github/workflows/translate_tr.yml index 13571575b..4924f80c6 100644 --- a/.github/workflows/translate_tr.yml +++ b/.github/workflows/translate_tr.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/translate_uk.yml b/.github/workflows/translate_uk.yml index 4991a185c..0e8b8116b 100644 --- a/.github/workflows/translate_uk.yml +++ b/.github/workflows/translate_uk.yml @@ -116,4 +116,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 ed59a8d34..7d2b3a348 100644 --- a/.github/workflows/translate_zh.yml +++ b/.github/workflows/translate_zh.yml @@ -116,4 +116,11 @@ jobs: # Sync the build to S3 - name: Sync to S3 - run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete \ No newline at end of file + 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 \ No newline at end of file