aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
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 .