We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499c69a commit ad6ec91Copy full SHA for ad6ec91
buildspec.yml
@@ -21,6 +21,4 @@ phases:
21
- echo "Build completed"
22
- aws ssm get-parameter --name maddy-test --with-decryption --query "Parameter.Value" --output text > private_key.pem
23
- chmod 600 private_key.pem
24
- - ls -la /codebuild/output/ # Print the content of the output directory for debugging
25
- - cd /codebuild/output/
26
- - scp -o StrictHostKeyChecking=no -i private_key.pem $(find . -name webapp.war -type f) ubuntu@44.204.28.186:/home/ubuntu/webapp.war
+ - scp -o StrictHostKeyChecking=no -i private_key.pem /codebuild/output/src*/src/webapp/target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war
0 commit comments