File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ permissions:
1010jobs :
1111 deploy :
1212 runs-on : ubuntu-latest
13- environment : actions # Is this necessary if we use the "env:" context below ?
13+ environment : actions
1414 steps :
1515 - name : Check out the release tag
1616 uses : actions/checkout@v4
1717 with :
1818 ref : ${{ github.event.release.tag_name }}
1919 - name : Verify release commit
20- run : | # Commit hash to compare with the commit returned by actions/checkout@v4 - Tag to compare with the latest releas
20+ run : | # Commit hash to compare with the commit returned by actions/checkout@v4 - Tag to compare with the latest release
2121 echo "Checked out commit: $(git rev-parse HEAD)"
2222 echo "Expected tag: ${{ github.event.release.tag_name }}"
2323 - name : prepare temporary folder for build
@@ -32,10 +32,13 @@ jobs:
3232 docker run --rm -i -v ${PWD}/docs:/docs squidfunk/mkdocs-material build
3333 - name : Download and set up AWS CLI
3434 run : |
35- sudo apt-get update
36- sudo apt-get install -y awscli
35+ apt update
36+ apt install curl unzip -y
37+ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
38+ unzip awscliv2.zip
39+ ./aws/install
3740
38- - name : Sety up AWS credentials
41+ - name : Set up AWS credentials
3942 env :
4043 CLI_DOC_ACCESS_KEY : ${{ secrets.CLI_DOC_ACCESS_KEY }}
4144 CLI_DOC_SECRET_KEY : ${{ secrets.CLI_DOC_SECRET_KEY }}
You can’t perform that action at this time.
0 commit comments