From 6a63a017500f853b2f18f8538bf1fa746005ed4d Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Tue, 28 Jan 2025 16:59:26 +0100 Subject: [PATCH 1/4] fix(docs): update AWSCLI install procedure in workflow --- .github/workflows/deploy-docs.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 92bfc758f8..53b10d5d90 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -10,14 +10,14 @@ permissions: jobs: deploy: runs-on: ubuntu-latest - environment: actions # Is this necessary if we use the "env:" context below ? + environment: actions steps: - name: Check out the release tag uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name }} - name: Verify release commit - run: | # Commit hash to compare with the commit returned by actions/checkout@v4 - Tag to compare with the latest releas + run: | # Commit hash to compare with the commit returned by actions/checkout@v4 - Tag to compare with the latest release echo "Checked out commit: $(git rev-parse HEAD)" echo "Expected tag: ${{ github.event.release.tag_name }}" - name: prepare temporary folder for build @@ -32,10 +32,14 @@ jobs: docker run --rm -i -v ${PWD}/docs:/docs squidfunk/mkdocs-material build - name: Download and set up AWS CLI run: | - sudo apt-get update - sudo apt-get install -y awscli + apt update + apt search awscli + apt install curl wget unzip -y + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + unzip awscliv2.zip + ./aws/install - - name: Sety up AWS credentials + - name: Set up AWS credentials env: CLI_DOC_ACCESS_KEY: ${{ secrets.CLI_DOC_ACCESS_KEY }} CLI_DOC_SECRET_KEY: ${{ secrets.CLI_DOC_SECRET_KEY }} From d28a189c9835c4998c0004753415ba7d55d0099b Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 29 Jan 2025 10:27:17 +0100 Subject: [PATCH 2/4] fix(docs): remove useless command --- .github/workflows/deploy-docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 53b10d5d90..e7d3c743df 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -32,8 +32,7 @@ jobs: docker run --rm -i -v ${PWD}/docs:/docs squidfunk/mkdocs-material build - name: Download and set up AWS CLI run: | - apt update - apt search awscli + apt updateÒ apt install curl wget unzip -y curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip From 80daac74fd49c558c7549df2b9f9354b31ee62e5 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 29 Jan 2025 10:27:58 +0100 Subject: [PATCH 3/4] fix(docs): typo --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index e7d3c743df..4ebdfd71b8 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -32,7 +32,7 @@ jobs: docker run --rm -i -v ${PWD}/docs:/docs squidfunk/mkdocs-material build - name: Download and set up AWS CLI run: | - apt updateÒ + apt update apt install curl wget unzip -y curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip From 1c99f17960c0d65675488dd617f5c61171aed6b7 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 29 Jan 2025 10:32:04 +0100 Subject: [PATCH 4/4] fix(docs): remove useless package --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 4ebdfd71b8..0d95258dfe 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -33,7 +33,7 @@ jobs: - name: Download and set up AWS CLI run: | apt update - apt install curl wget unzip -y + apt install curl unzip -y curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install