aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-06-03 03:53:38 +0000
committerMenny Even Danan <menny@evendanan.net>2020-06-03 03:53:38 +0000
commit3ba20363fc96061ddef9fdbc39329696dc77ff66 (patch)
tree2d45a9a5913b8dc7796b2c980e7c2994e5647018 /.github/actions
parente6b7fe9751d729558a34645c270c2dd18e014c26 (diff)
downloadAnySoftKeyboard-3ba20363fc96061ddef9fdbc39329696dc77ff66.tar.gz
AnySoftKeyboard-3ba20363fc96061ddef9fdbc39329696dc77ff66.tar.bz2
Not performing halt-deploy PR creation
Diffstat (limited to '.github/actions')
-rwxr-xr-x.github/actions/deploy/deploy.sh34
1 files changed, 17 insertions, 17 deletions
diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh
index 6c8af3058..d5763b1de 100755
--- a/.github/actions/deploy/deploy.sh
+++ b/.github/actions/deploy/deploy.sh
@@ -86,22 +86,22 @@ fi
echo "Counter is ${BUILD_COUNT_FOR_VERSION}, crash email: ${ANYSOFTKEYBOARD_CRASH_REPORT_EMAIL}, and tasks: ${DEPLOY_TASKS[*]}"
./gradlew "${DEPLOY_TASKS[@]}"
-
-#Making sure no future deployments will happen on this branch.
-if [[ "${FRACTION}" == "1.00" ]] && [[ "${DEPLOY_CHANNEL}" == "production" ]]; then
- echo "A succesfull full deploy to production has finished."
- MARKER_FILE="deployment/halt_deployment_marker"
- if [[ -f "${MARKER_FILE}" ]]; then
- echo "${MARKER_FILE} exits. No need to create another."
- else
- echo "Full deployment to production '${DEPLOYMENT_ENVIRONMENT}' was done succesfully" > "${MARKER_FILE}"
- git config --global user.email "ask@evendanan.net"
- git config --global user.name "Polyglot"
- git add "${MARKER_FILE})"
- git commit -m "Halting deploy to ${DEPLOYMENT_ENVIRONMENT}"
- #cleaning repo
- git clean -f -d && git reset --hard HEAD
- fi
-fi
+#
+##Making sure no future deployments will happen on this branch.
+#if [[ "${FRACTION}" == "1.00" ]] && [[ "${DEPLOY_CHANNEL}" == "production" ]]; then
+# echo "A succesfull full deploy to production has finished."
+# MARKER_FILE="deployment/halt_deployment_marker"
+# if [[ -f "${MARKER_FILE}" ]]; then
+# echo "${MARKER_FILE} exits. No need to create another."
+# else
+# echo "Full deployment to production '${DEPLOYMENT_ENVIRONMENT}' was done succesfully" > "${MARKER_FILE}"
+# git config --global user.email "ask@evendanan.net"
+# git config --global user.name "Polyglot"
+# git add "${MARKER_FILE})"
+# git commit -m "Halting deploy to ${DEPLOYMENT_ENVIRONMENT}"
+# #cleaning repo
+# git clean -f -d && git reset --hard HEAD
+# fi
+#fi
[[ -n "${GITHUB_ACTIONS}" ]] && chmod -R a+rwx .