make sudo preserve env on build

This commit is contained in:
keyan 2023-08-02 16:59:23 -05:00
parent 98c3632f58
commit 087e43ae8f
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ echo primsa migrate
npm run migrate npm run migrate
echo build with npm echo build with npm
sudo -u webapp npm run build sudo -E -u webapp npm run build

View File

@ -4,4 +4,4 @@ echo primsa migrate
npm run migrate npm run migrate
echo build with npm echo build with npm
sudo -u webapp npm run build sudo -E -u webapp npm run build