Update S3 deployment to upload jar/war files only
This commit is contained in:
parent
950fe974a7
commit
71effddccb
@ -9,6 +9,10 @@ install: "/bin/true"
|
|||||||
script:
|
script:
|
||||||
- mvn clean package install
|
- mvn clean package install
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- export WEBGOAT_RELEASE_FILES=$(ls build/webgoat-container/target/webgoat-container-*.*ar)
|
||||||
|
- echo "Webgoat release files $WEBGOAT_RELEASE_FILES"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: s3
|
provider: s3
|
||||||
access_key_id: AKIAJQLKPGHXRH2AH5QA
|
access_key_id: AKIAJQLKPGHXRH2AH5QA
|
||||||
@ -17,7 +21,8 @@ deploy:
|
|||||||
bucket: "webgoat-war"
|
bucket: "webgoat-war"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
acl: public_read
|
acl: public_read
|
||||||
local_dir: $HOME/build/dougmorato/WebGoat/webgoat-container/target/
|
file_glob: true
|
||||||
|
file: "${WEBGOAT_RELEASE_FILES}"
|
||||||
on:
|
on:
|
||||||
repo: dougmorato/WebGoat
|
repo: dougmorato/WebGoat
|
||||||
branch: docs
|
branch: docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user