From 059e961d164395ee341e3d4da9e6d80a0e2340d8 Mon Sep 17 00:00:00 2001 From: Thomas Benz Date: Mon, 26 Feb 2024 11:20:40 +0100 Subject: [PATCH] fixv4 --- .github/workflows/{gitlab-ci.yml => gitlab-ci.yml.off} | 0 util/deploy.py | 10 ++++++++++ 2 files changed, 10 insertions(+) rename .github/workflows/{gitlab-ci.yml => gitlab-ci.yml.off} (100%) diff --git a/.github/workflows/gitlab-ci.yml b/.github/workflows/gitlab-ci.yml.off similarity index 100% rename from .github/workflows/gitlab-ci.yml rename to .github/workflows/gitlab-ci.yml.off diff --git a/util/deploy.py b/util/deploy.py index 89afa929..59a94359 100644 --- a/util/deploy.py +++ b/util/deploy.py @@ -9,6 +9,7 @@ """Deploy script run by ci. Creates a deploy branch which includes generated files.""" import os import time +import sys # Git command fragments CHECK_BRANCH_CMD = 'git rev-parse --verify' @@ -40,6 +41,15 @@ last_deploy_hash = os.popen(f'{CHECK_BRANCH_CMD} {deploy_branch}').read() deploy_msg = f'{current_msg}\n-----\n\nDeployed from {current_hash}' +print(f'\n\n{current_branch}\n\n') +print(f'\n\n{current_hash}\n\n') +print(f'\n\n{current_msg}\n\n') +print(f'\n\n{deploy_branch}\n\n') +print(f'\n\n{last_deploy_hash}\n\n') +print(f'\n\n{deploy_msg}\n\n') + +sys.exit(0) + # checkout current working branch os.popen(f'{GIT_CHECKOUT_CMD} {current_branch}') time.sleep(0.5)