diff options
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/deploy/action.yml | 4 | ||||
| -rwxr-xr-x | .github/actions/deploy/deploy.sh | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.github/actions/deploy/action.yml b/.github/actions/deploy/action.yml index 55dfbb221..3e52fb21a 100644 --- a/.github/actions/deploy/action.yml +++ b/.github/actions/deploy/action.yml @@ -25,8 +25,8 @@ inputs: default: "" description: "APK signing keystore default key password" required: true - publish_service_account_creds_json: - description: "contents of the json certs file" + publish_service_account_creds_json_url: + description: "url to the json certs file" default: "" required: true runs: diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh index b6cb7e749..40d5eef19 100755 --- a/.github/actions/deploy/deploy.sh +++ b/.github/actions/deploy/deploy.sh @@ -12,7 +12,7 @@ export KEY_STORE_FILE_PASSWORD="${1}" shift export KEY_STORE_FILE_DEFAULT_ALIAS_PASSWORD="${1}" shift -echo "${1}" > /tmp/apk_upload_key.json +PUBLISH_JSON_URL="${1}" shift function deployProcessFromEnvironmentName() { @@ -48,6 +48,7 @@ if [[ -z "${KEYSTORE_FILE_URL}" ]]; then 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 stat /tmp/anysoftkeyboard.keystore stat /tmp/apk_upload_key.json |
