We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62f388 commit 8573b39Copy full SHA for 8573b39
.github/workflows/deploy-docs.yaml
@@ -24,8 +24,14 @@ jobs:
24
25
- name: Install AWS CLI
26
run: |
27
- sudo apt-get update
28
- sudo apt-get install -y awscli
+ if ! command -v aws &> /dev/null; then
+ echo "AWS CLI not found. Installing..."
29
+ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
30
+ unzip awscliv2.zip
31
+ sudo ./aws/install
32
+ else
33
+ echo "AWS CLI already installed."
34
+ fi
35
36
- name: Configure AWS credentials
37
uses: aws-actions/configure-aws-credentials@v2
0 commit comments