diff options
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/deploy/action.yml | 6 | ||||
| -rwxr-xr-x | .github/actions/deploy/deploy.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/actions/deploy/action.yml b/.github/actions/deploy/action.yml index 186ea79b3..55dfbb221 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_file: - description: "path to the json certs file" + publish_service_account_creds_json: + description: "contents of the json certs file" default: "" required: true runs: @@ -46,7 +46,7 @@ runs: - ${{ inputs.keystore_url }} - ${{ inputs.keystore_password }} - ${{ inputs.keystore_key_password }} - - ${{ inputs.publish_service_account_creds_json_file }} + - ${{ inputs.publish_service_account_creds_json }} branding: icon: 'upload-cloud' diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh index ca1cab44a..f5872e6ba 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 -PUBLISH_CERT_JSON_FILE="${1}" +echo "${1}" > /tmp/apk_upload_key.json shift function deployProcessFromEnvironmentName() { @@ -49,7 +49,7 @@ fi wget --tries=5 --waitretry=5 "${KEYSTORE_FILE_URL}" -q -O /tmp/anysoftkeyboard.keystore stat /tmp/anysoftkeyboard.keystore -stat "${PUBLISH_CERT_JSON_FILE}" +stat /tmp/apk_upload_key.json DEPLOY_TASKS=( "--stacktrace" "-PwithAutoVersioning" ":generateFdroidYamls" "-DdeployChannel=${DEPLOY_CHANNEL}" "-DdeployFraction=${FRACTION}" ) if [[ "${DEPLOYMENT_TASK}" == "deploy" ]]; then |
