aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/deploy
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/deploy')
-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}" )