aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-03-16 21:52:12 +0000
committerMenny Even Danan <menny@evendanan.net>2020-03-16 21:52:12 +0000
commit6c6b0894f8cdcbd46c482295664c29b20c038ecf (patch)
treefb74eca3c1e9ce03c2466fa8bbc241d322273336 /.github/actions
parenta0a1810607293e44170aa9833478a5e498612f63 (diff)
downloadAnySoftKeyboard-6c6b0894f8cdcbd46c482295664c29b20c038ecf.tar.gz
AnySoftKeyboard-6c6b0894f8cdcbd46c482295664c29b20c038ecf.tar.bz2
taking publish json url instead of contents
Diffstat (limited to '.github/actions')
-rw-r--r--.github/actions/deploy/action.yml4
-rwxr-xr-x.github/actions/deploy/deploy.sh3
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