fix: use internal Gitea URL (10.100.0.90:3000) for git fetch in node jail
Deploy Indiekit Server / deploy (push) Failing after 27s

This commit is contained in:
Sven
2026-05-14 20:04:03 +02:00
parent ff8d3a0ad4
commit 7ea6772db0
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
restart_log=/tmp/indiekit-restart.log restart_log=/tmp/indiekit-restart.log
# Update code as indiekit user; point remote at internal Gitea (no auth needed — public read). # Update code as indiekit user; point remote at internal Gitea (no auth needed — public read).
doas bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && git remote set-url origin https://git.wildwuchs.work/svemagie.net/indiekit-server.git && git fetch origin && git reset --hard origin/main"' doas bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && git remote set-url origin http://10.100.0.90:3000/svemagie.net/indiekit-server.git && git fetch origin && git reset --hard origin/main"'
# Install dependencies (postinstall runs all patches automatically). # Install dependencies (postinstall runs all patches automatically).
doas bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && npm ci --legacy-peer-deps"' doas bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && npm ci --legacy-peer-deps"'