Skip to content

Commit eb5a3c8

Browse files
committed
Fix for deploy-ec2.yml
1 parent 2df5c70 commit eb5a3c8

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/deploy-ec2.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,6 @@ jobs:
9393
9494
systemctl enable --now docker || true
9595
96-
# ---- Install AWS CLI v2 (bundle) if missing ----
97-
if ! command -v aws >/dev/null 2>&1; then
98-
ARCH="$(uname -m)"
99-
case "$ARCH" in
100-
x86_64) CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" ;;
101-
aarch64|arm64) CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" ;;
102-
*) echo "unsupported arch: $ARCH"; exit 1 ;;
103-
esac
104-
curl -fsSL "$CLI_URL" -o /tmp/awscliv2.zip
105-
unzip -q /tmp/awscliv2.zip -d /tmp
106-
/tmp/aws/install
107-
aws --version || { echo "aws cli install failed"; exit 1; }
108-
fi
109-
11096
# ---- ECR login, pull, run ----
11197
ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
11298
REGION='${AWS_REGION}'

0 commit comments

Comments
 (0)