From 61ecbd8942ab32c46616b38df456325972535b1f Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 8 Oct 2023 10:31:00 -0600 Subject: trying to add CD --- appspec.yml | 2 +- scripts/install_dependencies.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appspec.yml b/appspec.yml index ba4346e..a239ceb 100644 --- a/appspec.yml +++ b/appspec.yml @@ -2,7 +2,7 @@ version: 0.0 os: linux files: - source: / - destination: /home/ec2-user + destination: /home/ec2-user/dep-dir hooks: BeforeInstall: - location: scripts/install_dependencies.sh diff --git a/scripts/install_dependencies.sh b/scripts/install_dependencies.sh index 9bbf541..a28af11 100755 --- a/scripts/install_dependencies.sh +++ b/scripts/install_dependencies.sh @@ -3,6 +3,6 @@ if ! command -v poetry &> /dev/null then curl -sSL https://install.python-poetry.org | python3 - fi - +export PATH="/root/.local/bin:$PATH" cd /home/ec2-user -poetry install +/root/.local/bin/poetry install -- cgit v1.2.3