From 371fd1acbb96f790ce7f1d594ede8e4b5a4139bc Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 3 Dec 2025 14:58:41 +0100 Subject: [PATCH] move envs into correct context --- deployment/hetzner_cloud/install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deployment/hetzner_cloud/install.sh b/deployment/hetzner_cloud/install.sh index 43d5872ad..e5fe29f81 100755 --- a/deployment/hetzner_cloud/install.sh +++ b/deployment/hetzner_cloud/install.sh @@ -124,12 +124,11 @@ sudo systemctl daemon-reload # setup https with certbot certbot certonly --nginx --non-interactive --agree-tos --domains $COMMUNITY_HOST --email $COMMUNITY_SUPPORT_MAIL -# Variables -NVM_DIR="/home/gradido/.nvm" -NODE_VERSION="v18.20.7" - # run as gradido user (until EOF) sudo -u gradido bash <<'EOF' + export NVM_DIR="/home/gradido/.nvm" + NODE_VERSION="v18.20.7" + export NVM_DIR # Install nvm if it doesn't exist if [ ! -d "$NVM_DIR" ]; then curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash