update workflows

This commit is contained in:
Carlos Polop
2024-12-31 18:09:32 +01:00
parent 19004e38f9
commit 14aae01dee
16 changed files with 16 additions and 27 deletions

View File

@@ -112,15 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
# Login in AWs
- name: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-east-1
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete

View File

@@ -112,4 +112,4 @@ jobs:
# Sync the build to S3
- name: Sync to S3
run: aws s3 sync ./book s3://hacktricks-cloud/en --delete
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete