From 2688e7e1935afa2d125c5674c1831aadc25a1393 Mon Sep 17 00:00:00 2001 From: minottic Date: Wed, 27 Nov 2024 15:59:40 +0100 Subject: [PATCH 1/2] Avoid restarting in DEV --- services/compose.dev.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/services/compose.dev.yaml b/services/compose.dev.yaml index f8d375b0..e377256b 100644 --- a/services/compose.dev.yaml +++ b/services/compose.dev.yaml @@ -16,6 +16,7 @@ services: environment: GITHUB_REPO: ${GITHUB_REPO:-} user: root + restart: no node-app-from-local: extends: web-app volumes: From 1ad6b766df31e8b90a3c7eaccb70dd46ec087a0e Mon Sep 17 00:00:00 2001 From: minottic Date: Wed, 27 Nov 2024 16:47:06 +0100 Subject: [PATCH 2/2] Avoid cleaning untracked files --- entrypoints/setup_git.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/entrypoints/setup_git.sh b/entrypoints/setup_git.sh index 4ea357f6..53171805 100755 --- a/entrypoints/setup_git.sh +++ b/entrypoints/setup_git.sh @@ -15,7 +15,6 @@ git remote add origin "${REPO}" git fetch DEFAULT_BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p') git reset --hard origin/"${DEFAULT_BRANCH}" -git clean -fd if [ -n "${TAG}" ] then git checkout "${TAG}"