This commit is contained in:
Carlos Polop
2026-02-14 20:47:09 +01:00
parent 616d1255a8
commit 3724e2729a
2 changed files with 41 additions and 6 deletions

View File

@@ -262,9 +262,6 @@ jobs:
git rev-parse --abbrev-ref HEAD
echo "Syncing $BRANCH to S3"
aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
echo "Uploading root ads.txt"
aws s3 cp ./ads.txt s3://hacktricks-cloud/ads.txt --content-type text/plain --cache-control max-age=300
aws s3 cp ./ads.txt s3://hacktricks-cloud/en/ads.txt --content-type text/plain --cache-control max-age=300
echo "Sync completed"
echo "Cat 3 files from the book"
find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat