Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qxzzxq committed Jan 9, 2020
1 parent ed5162d commit 0b486a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ phases:
java: corretto8
docker: 18
commands:
- gpg --list-keys
- if [ "$DEPLOY" = "true" ]; then echo ${MVN_SETTINGS} > /root/.m2/settings.xml; fi
- if [ "$DEPLOY" = "true" ]; then echo ${MVN_SECURITY} > /root/.m2/settings-security.xml; fi
- if [ "$DEPLOY" = "true" ]; then echo ${GPG_KEY} > /root/ossrh_gpg_base64; base64 -d /root/ossrh_gpg_base64 > /root/ossrh_gpg.key; fi
- cat /root/ossrh_gpg.key
- gpg --version
- gpg --list-keys
- if [ "$DEPLOY" = "true" ]; then gpg --import /root/ossrh_gpg.key; fi
pre_build:
commands:
Expand Down

0 comments on commit 0b486a2

Please sign in to comment.