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