From 468fd3051467ca147004d4d9e6b7a59f0e4a7c62 Mon Sep 17 00:00:00 2001 From: hizumi Date: Tue, 9 Dec 2025 14:55:40 -0600 Subject: [PATCH] Update .gitea/workflows/cd-deploy.yaml attempt to preserve existing environment to fix node issues --- .gitea/workflows/cd-deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/cd-deploy.yaml b/.gitea/workflows/cd-deploy.yaml index 74acb0e..4690628 100644 --- a/.gitea/workflows/cd-deploy.yaml +++ b/.gitea/workflows/cd-deploy.yaml @@ -50,24 +50,24 @@ jobs: - name: Update Shared Dependencies run: | cd /var/www/html/milsim-site-v4/shared - sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install + sudo -u nginx -E npm install - name: Update UI Dependencies run: | cd /var/www/html/milsim-site-v4/ui - sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install + sudo -u nginx -E npm install - name: Update API Dependencies run: | cd /var/www/html/milsim-site-v4/api - sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install + sudo -u nginx -E npm install - name: Build UI run: | cd /var/www/html/milsim-site-v4/ui - sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm run build + sudo -u nginx -E npm run build - name: Build API run: | cd /var/www/html/milsim-site-v4/api - sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm run build + sudo -u nginx -E npm run build