mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-06-12 11:01:38 -07:00
f
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user