mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-24 20:10:16 -08:00
update workflows
This commit is contained in:
13
.github/workflows/translate_af.yml
vendored
13
.github/workflows/translate_af.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_de.yml
vendored
2
.github/workflows/translate_de.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_el.yml
vendored
2
.github/workflows/translate_el.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_es.yml
vendored
2
.github/workflows/translate_es.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_fr.yml
vendored
2
.github/workflows/translate_fr.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_in.yml
vendored
2
.github/workflows/translate_in.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_it.yml
vendored
2
.github/workflows/translate_it.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_ja.yml
vendored
2
.github/workflows/translate_ja.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_kr.yml
vendored
2
.github/workflows/translate_kr.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_pl.yml
vendored
2
.github/workflows/translate_pl.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_pt.yml
vendored
2
.github/workflows/translate_pt.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_sr.yml
vendored
2
.github/workflows/translate_sr.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_sw.yml
vendored
2
.github/workflows/translate_sw.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_tr.yml
vendored
2
.github/workflows/translate_tr.yml
vendored
@@ -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
|
||||
2
.github/workflows/translate_uk.yml
vendored
2
.github/workflows/translate_uk.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/translate_zh.yml
vendored
2
.github/workflows/translate_zh.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user