Härte Server-Deploy gegen dubious-ownership nach Mac-rsync.
All checks were successful
Deploy explore / deploy (push) Successful in 2s
All checks were successful
Deploy explore / deploy (push) Successful in 2s
Git als root in /opt/explore setzt safe.directory, damit der Checkout nicht an uid 501 scheitert. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -32,7 +32,12 @@ jobs:
|
||||
set -euo pipefail
|
||||
echo "Starting explore deployment..."
|
||||
mkdir -p /opt/explore
|
||||
chown root:root /opt/explore
|
||||
cd /opt/explore
|
||||
# rsync vom Mac setzt uid 501 — Git als root braucht safe.directory
|
||||
export GIT_CONFIG_COUNT=1
|
||||
export GIT_CONFIG_KEY_0=safe.directory
|
||||
export GIT_CONFIG_VALUE_0=/opt/explore
|
||||
|
||||
if [ ! -d .git ]; then
|
||||
git init
|
||||
|
||||
Reference in New Issue
Block a user