Skip to content

Commit 08b71db

Browse files
authored
Update buildspec.yml
1 parent 7966950 commit 08b71db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ phases:
55
runtime-versions:
66
java: corretto11
77
commands:
8-
# Skip yum update as it may not be available in some CodeBuild environments
98
- echo "Skipping yum update..."
109

1110
pre_build:
@@ -21,4 +20,5 @@ phases:
2120
commands:
2221
- echo "Build completed"
2322
- aws ssm get-parameter --name maddy-test --with-decryption --query "Parameter.Value" --output text > private_key.pem
24-
- scp -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war
23+
- ls -la target # List the contents of the target directory for debugging
24+
- scp -v -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war

0 commit comments

Comments
 (0)