aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-04-01 02:58:59 +0000
committerMenny Even Danan <menny@evendanan.net>2020-04-01 02:58:59 +0000
commita3eef343c7caaf73abd52c794ecbe02942e0040f (patch)
treede55714191dcd6e5dcf2f8e207bf5d0c4aecab87 /.github/actions
parentad8980b8fdc8a5abc6facc005d31c32ef0fd40b6 (diff)
downloadAnySoftKeyboard-a3eef343c7caaf73abd52c794ecbe02942e0040f.tar.gz
AnySoftKeyboard-a3eef343c7caaf73abd52c794ecbe02942e0040f.tar.bz2
Merge commit with full history
Diffstat (limited to '.github/actions')
-rw-r--r--.github/actions/deploy-request/action.yml2
-rwxr-xr-x.github/actions/deploy-request/deployment_request.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/deploy-request/action.yml b/.github/actions/deploy-request/action.yml
index e2990f450..cc6ceef97 100644
--- a/.github/actions/deploy-request/action.yml
+++ b/.github/actions/deploy-request/action.yml
@@ -4,7 +4,7 @@ author: "menny"
inputs:
sha:
- description: "SHA to deploy"
+ description: "SHA to deploy. Either a specific commit, or HEAD."
required: true
ref:
description: "branch to deploy"
diff --git a/.github/actions/deploy-request/deployment_request.sh b/.github/actions/deploy-request/deployment_request.sh
index f47753fc1..c744a57a3 100755
--- a/.github/actions/deploy-request/deployment_request.sh
+++ b/.github/actions/deploy-request/deployment_request.sh
@@ -17,6 +17,7 @@ if [[ "${SHA}" == "HEAD" ]]; then
SHA="$(git show-ref --head --hash "${REF}" | tail -n 1)"
echo "HEAD SHA was found to be '${SHA}'."
fi
+
echo "Request deployment flow for sha ${SHA} on branch ${REF}. New deployment: ${NEW_DEPLOY}."
./gradlew :deployment:deploymentRequestProcess -PRequest.sha="${SHA}" -PRequest.ref="${REF}" -PRequest.new_deploy="${NEW_DEPLOY}" -PRequest.apiUsername="${API_USERNAME}" -PRequest.apiUserToken="${API_TOKEN}"