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