From 52df23170af9ffc3e9bc9090d8555416f73f5bfb Mon Sep 17 00:00:00 2001 From: Jolan Date: Tue, 4 Mar 2025 11:09:04 +0100 Subject: [PATCH] fix: first 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 ca82e10..7dc3006 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: | - sudo cp ./nginx_secfit.conf /etc/nginx/conf.d/nginx.conf + envsubst < ./nginx_secfit.conf > /etc/nginx/conf.d/nginx.conf # Test the nginx configuration - name: Test nginx configuration file