Skip to content

Commit

Permalink
Merge pull request #28 from wultra/issues/#27-switch-to-single-quotes
Browse files Browse the repository at this point in the history
Fix #27: Switch to single quotes for echo PGP key
  • Loading branch information
zcgandcomp authored Jun 26, 2023
2 parents 6ccbdf7 + 6d1d16c commit dbab1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
elif [ "$ENVIRONMENT" == "maven-publish" ]; then
echo "running oss deploy"
if [ "$RELEASE_TYPE" == "release" ]; then
echo -e "${{ secrets.gpg_key }}" > keyfile.asc
echo -e "${{ secrets.gpg_passphrase }}" > passphrase.txt
echo -e '${{ secrets.gpg_key }}' > keyfile.asc
echo -e '${{ secrets.gpg_passphrase }}' > passphrase.txt
mvn -B --no-transfer-progress -DperformRelease=true -Dpgp.secretkey=keyfile:keyfile.asc -Dpgp.passphrase=file:passphrase.txt deploy
elif [ "$RELEASE_TYPE" == "snapshot" ]; then
mvn -B --no-transfer-progress deploy
Expand Down

0 comments on commit dbab1c6

Please sign in to comment.