fix: use :results output for noweb, printf for no newline, sync tangle-deploy from HEAD
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ] || \
|
||||
|
||||
Reference in New Issue
Block a user