diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8eb2fa86f27a2c10f1f3308df26aade65853a0c6..dd41e9ff4d8fb411ffb4f3295bdd44401d64ee7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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