Skip to content

Commit bdd6a27

Browse files
committed
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.
1 parent 0d4aa47 commit bdd6a27

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ jobs:
6767

6868
- name: Install AWS Copilot CLI
6969
run: |
70-
curl -Lo copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux
71-
chmod +x copilot
72-
sudo mv copilot /usr/local/bin/copilot
70+
mkdir -p ./.tools
71+
curl -Lo ./.tools/copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux
72+
chmod +x ./.tools/copilot
73+
sudo mv ./.tools/copilot /usr/local/bin/copilot
7374
7475
- name: Deploy web Service
7576
run: |

0 commit comments

Comments
 (0)