This commit is contained in:
Carlos Polop
2026-06-05 10:40:57 +02:00
parent ec2bf385fe
commit 8867d2f8c0
+4 -2
View File
@@ -63,7 +63,7 @@ jobs:
echo "Continuing with translation workflow"
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
@@ -249,7 +249,7 @@ jobs:
# Login in AWs
- name: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@v3
uses: aws-actions/configure-aws-credentials@v6
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-east-1
@@ -276,6 +276,7 @@ jobs:
- name: Refresh root sitemap index
id: root_sitemap
shell: bash
run: |
set -euo pipefail
LANGS=$(aws s3api list-objects-v2 --bucket hacktricks-cloud --delimiter / --query 'CommonPrefixes[].Prefix' --output text | tr '\t' '\n' | sed 's:/$::' | grep -E '^[a-z]{2}$' | sort | paste -sd, - || true)
@@ -292,6 +293,7 @@ jobs:
fi
- name: Invalidate CloudFront HTML and SEO assets
shell: bash
run: |
set -euo pipefail
paths=("/$BRANCH/*" "/$BRANCH/sitemap.xml")