From 6f345f3cadbafea04401239453a947e2d023ce8a Mon Sep 17 00:00:00 2001 From: Jolan Date: Tue, 4 Mar 2025 11:10:40 +0100 Subject: [PATCH] fix: added sudo in attempt to resolve environment variable issue in Nginx config --- .github/workflows/update_primary_nginx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 7dc3006..eec53a5 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -26,7 +26,7 @@ jobs: # Copying nginx configuration file to the server - name: Deploy nginx configuration file run: | - envsubst < ./nginx_secfit.conf > /etc/nginx/conf.d/nginx.conf + sudo envsubst < ./nginx_secfit.conf > /etc/nginx/conf.d/nginx.conf # Test the nginx configuration - name: Test nginx configuration file