From 646dc1ef162bfd05391f1740756613abb828f01c Mon Sep 17 00:00:00 2001 From: TEC Date: Mon, 17 Oct 2022 21:47:57 +0800 Subject: [PATCH] Generate secret at correct path --- setup.org | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.org b/setup.org index 5968a58..b15af5d 100644 --- a/setup.org +++ b/setup.org @@ -156,6 +156,7 @@ We also need to ensure that a secrets token exists. #+begin_src sh if [ ! -e "/opt/emacs-survey/config/secrets.jl" ]; then printf "\e[34mCreating genie secrets token\e[m\n" + cd /opt/emacs-survey sudo -u genie julia --project=/opt/emacs-survey -e 'using Genie; Genie.Generator.write_secrets_file()' fi #+end_src