aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-03-16 23:45:00 +0000
committerMenny Even Danan <menny@evendanan.net>2020-03-16 23:45:00 +0000
commite4a85fdc7dc706f235d48f466c5ef7225c3ad3c2 (patch)
tree698e151d6909dd01bf30c802159a2eecf6216e4f /.github/actions
parent6c6b0894f8cdcbd46c482295664c29b20c038ecf (diff)
downloadAnySoftKeyboard-e4a85fdc7dc706f235d48f466c5ef7225c3ad3c2.tar.gz
AnySoftKeyboard-e4a85fdc7dc706f235d48f466c5ef7225c3ad3c2.tar.bz2
download secrets logs
Diffstat (limited to '.github/actions')
-rwxr-xr-x.github/actions/deploy/deploy.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh
index 40d5eef19..570f53397 100755
--- a/.github/actions/deploy/deploy.sh
+++ b/.github/actions/deploy/deploy.sh
@@ -41,15 +41,10 @@ FRACTION=$(deployFractionFromEnvironmentName "${DEPLOYMENT_ENVIRONMENT}")
echo "for ${DEPLOYMENT_ENVIRONMENT}: will deploy process ${PROCESS_NAME} to ${DEPLOY_CHANNEL} with ${FRACTION} fraction."
export BUILD_COUNT_FOR_VERSION=${GITHUB_RUN_NUMBER}
-echo "Downloading signature files..."
-if [[ -z "${KEYSTORE_FILE_URL}" ]]; then
- echo "Could not find secure env variable KEYSTORE_FILE_URL. Can not deploy."
- exit 1
-fi
-
-wget --tries=5 --waitretry=5 "${KEYSTORE_FILE_URL}" -q -O /tmp/anysoftkeyboard.keystore
-wget --tries=5 --waitretry=5 "${PUBLISH_JSON_URL}" -q -O /tmp/apk_upload_key.json
+echo "Downloading secret files..."
+wget --tries=5 --waitretry=5 "${KEYSTORE_FILE_URL}" -O /tmp/anysoftkeyboard.keystore
stat /tmp/anysoftkeyboard.keystore
+wget --tries=5 --waitretry=5 "${PUBLISH_JSON_URL}" -O /tmp/apk_upload_key.json
stat /tmp/apk_upload_key.json
DEPLOY_TASKS=( "--stacktrace" "-PwithAutoVersioning" ":generateFdroidYamls" "-DdeployChannel=${DEPLOY_CHANNEL}" "-DdeployFraction=${FRACTION}" )