From 9b916235bb5b75372eb3f357d2a4bb8f4c54ad85 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Jun 2026 12:54:49 -0400 Subject: [PATCH] fix: use :results output for noweb, printf for no newline, sync tangle-deploy from HEAD --- infrastructure.org | 2 +- tangle-deploy.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/infrastructure.org b/infrastructure.org index a2c7751..7fc3600 100644 --- a/infrastructure.org +++ b/infrastructure.org @@ -232,7 +232,7 @@ in every router block. #+NAME: crowdsec_key -#+BEGIN_SRC sh :results raw :exports none +#+BEGIN_SRC sh :results output :exports none printf "%s" "Xvx3UTjAdThkqtNuVhciWzEOJuBZoWH58KE+E7C3L6I" #+END_SRC #+BEGIN_SRC yaml :tangle /docker/appdata/traefik/dynamic.yaml :noweb yes diff --git a/tangle-deploy.sh b/tangle-deploy.sh index 344f0ab..91af2ac 100755 --- a/tangle-deploy.sh +++ b/tangle-deploy.sh @@ -17,8 +17,7 @@ fi echo "=== Tangling $ORG_FILE ===" emacs --batch -Q --load /usr/share/emacs/28.2/lisp/org/org-loaddefs.el \ --eval "(require 'org)" \ - --eval "(require 'ob-shell)" \ - --eval '(let ((org-confirm-babel-evaluate nil)) (org-babel-tangle-file "'"$ORG_FILE"'"))' 2>&1 + --eval "(org-babel-tangle-file \"$ORG_FILE\")" 2>&1 echo "=== Restarting services ===" cd /docker/compose if [ -f /docker/appdata/traefik/traefik.yaml ] || \