diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 10:31:00 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 10:31:00 -0600 |
commit | 61ecbd8942ab32c46616b38df456325972535b1f (patch) | |
tree | c983566b202513a75c805d6d5dc79aa1184965eb | |
parent | 613702d008db69847f783516521f77b52d5183ef (diff) |
trying to add CD
-rw-r--r-- | appspec.yml | 2 | ||||
-rwxr-xr-x | 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 |