Commit dcc96847 authored by Perwaiz Ali's avatar Perwaiz Ali

.git-ci.yml changes

parent 759a3288
Pipeline #2214 passed with stages
in 2 minutes and 4 seconds
......@@ -27,4 +27,15 @@ test-code-job2:
stage: test
script:
- echo "If the files are built successfully, test other files with a different command:"
\ No newline at end of file
deploy:
tags:
- docker
stage: deploy
image:
name: banst/awscli
entrypoint: [""]
script:
- aws configure set region ap-south-1
- aws s3 cp ./target/ShowDemo_1-0.0.1-SNAPSHOT.jar s3://$S3_BUCKET/ShowDemo_1-0.0.1-SNAPSHOT.jar
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment