fix(ci): Use --entrypoint sh for alpine/git (default entrypoint is git)
Some checks failed
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Successful in 35s
CI/CD / test-python-backend-compliance (push) Successful in 38s
CI/CD / test-python-document-crawler (push) Successful in 27s
CI/CD / test-python-dsms-gateway (push) Successful in 27s
CI/CD / deploy-hetzner (push) Failing after 6s
Some checks failed
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Successful in 35s
CI/CD / test-python-backend-compliance (push) Successful in 38s
CI/CD / test-python-document-crawler (push) Successful in 27s
CI/CD / test-python-dsms-gateway (push) Successful in 27s
CI/CD / deploy-hetzner (push) Failing after 6s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -205,8 +205,9 @@ jobs:
|
|||||||
echo "=== Updating code on host ==="
|
echo "=== Updating code on host ==="
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v "${DEPLOY_DIR}:${DEPLOY_DIR}" \
|
-v "${DEPLOY_DIR}:${DEPLOY_DIR}" \
|
||||||
|
--entrypoint sh \
|
||||||
alpine/git:latest \
|
alpine/git:latest \
|
||||||
sh -c "
|
-c "
|
||||||
if [ ! -d '${DEPLOY_DIR}/.git' ]; then
|
if [ ! -d '${DEPLOY_DIR}/.git' ]; then
|
||||||
echo 'Erstmaliges Klonen nach ${DEPLOY_DIR}...'
|
echo 'Erstmaliges Klonen nach ${DEPLOY_DIR}...'
|
||||||
git clone '${REPO_URL}' '${DEPLOY_DIR}'
|
git clone '${REPO_URL}' '${DEPLOY_DIR}'
|
||||||
|
|||||||
Reference in New Issue
Block a user