Merge pull request 'ci(deploy): allow git pull in deploy dir owned by another user' (#12) from fix/deploy-safe-directory into main
CD — Deployment / deploy (push) Successful in 30s

Reviewed-on: #12
Reviewed-by: Esiah <[email protected]>
This commit was merged in pull request #12.
This commit is contained in:
2026-10-19 12:41:06 +00:00
+3
View File
@@ -28,6 +28,9 @@ jobs:
run: |
set -eu
dir="${DEPLOY_DIR:-/srv/apps/cohaise-cloud/CoHaiSe-CLOUD}"
# The deploy directory may be owned by another user than the runner:
# git refuses to operate there without an explicit safe.directory.
git config --global --add safe.directory "$dir"
cd "$dir"
git pull --ff-only origin main
# Image builds compile and typecheck every workspace (tsc): no Node