fix: use :results output for noweb, printf for no newline, sync tangle-deploy from HEAD

This commit is contained in:
root
2026-06-06 12:54:49 -04:00
parent 13a583a081
commit 9b916235bb
2 changed files with 2 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ in every router block.
#+NAME: crowdsec_key #+NAME: crowdsec_key
#+BEGIN_SRC sh :results raw :exports none #+BEGIN_SRC sh :results output :exports none
printf "%s" "Xvx3UTjAdThkqtNuVhciWzEOJuBZoWH58KE+E7C3L6I" printf "%s" "Xvx3UTjAdThkqtNuVhciWzEOJuBZoWH58KE+E7C3L6I"
#+END_SRC #+END_SRC
#+BEGIN_SRC yaml :tangle /docker/appdata/traefik/dynamic.yaml :noweb yes #+BEGIN_SRC yaml :tangle /docker/appdata/traefik/dynamic.yaml :noweb yes

View File

@@ -17,8 +17,7 @@ fi
echo "=== Tangling $ORG_FILE ===" echo "=== Tangling $ORG_FILE ==="
emacs --batch -Q --load /usr/share/emacs/28.2/lisp/org/org-loaddefs.el \ emacs --batch -Q --load /usr/share/emacs/28.2/lisp/org/org-loaddefs.el \
--eval "(require 'org)" \ --eval "(require 'org)" \
--eval "(require 'ob-shell)" \ --eval "(org-babel-tangle-file \"$ORG_FILE\")" 2>&1
--eval '(let ((org-confirm-babel-evaluate nil)) (org-babel-tangle-file "'"$ORG_FILE"'"))' 2>&1
echo "=== Restarting services ===" echo "=== Restarting services ==="
cd /docker/compose cd /docker/compose
if [ -f /docker/appdata/traefik/traefik.yaml ] || \ if [ -f /docker/appdata/traefik/traefik.yaml ] || \