Skip to content

Commit

Permalink
Fix publishing CI step, attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Feb 28, 2019
1 parent 7876d32 commit c07ac8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/publish.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
set -eu

GRADLE_PUBLISH_KEY=$(aws --region us-east-1 ssm get-parameter --name '/buildkite/gradle-publish-key' --with-decryption | jq -r '.Parameter.Value')
GRADLE_PUBLISH_SECRET=$(aws --region us-east-1 ssm get-parameter --name '/buildkite/gradle-publish-secret' --with-decryption | jq -r '.Parameter.Value')
GRADLE_PUBLISH_KEY=$(aws --region us-east-1 ssm get-parameter --with-decryption --name '/buildkite/gradle-publish-key' --output text --query Parameter.Value)
GRADLE_PUBLISH_SECRET=$(aws --region us-east-1 ssm get-parameter --with-decryption --name '/buildkite/gradle-publish-secret' --output text --query Parameter.Value)

echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >> ~/.gradle/gradle.properties
echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >> ~/.gradle/gradle.properties
Expand Down

0 comments on commit c07ac8e

Please sign in to comment.