From bdd6a270ebb4d74826bcde6815fcefd44b432b29 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Mon, 2 Jun 2025 15:23:13 +0000 Subject: [PATCH] fix(ci): install copilot in deploy workflow there was already a folder called copilot in the location where curl was originally trying to install the copilot binary. this fix installs copilot in a different directory to avoid the conflict. --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4d8678..66415c6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -67,9 +67,10 @@ jobs: - name: Install AWS Copilot CLI run: | - curl -Lo copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux - chmod +x copilot - sudo mv copilot /usr/local/bin/copilot + mkdir -p ./.tools + curl -Lo ./.tools/copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux + chmod +x ./.tools/copilot + sudo mv ./.tools/copilot /usr/local/bin/copilot - name: Deploy web Service run: |