diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index a931b18..5f64328 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -26,8 +26,7 @@ jobs: # Maybe look at https://www.baeldung.com/linux/envsubst-command to get an idea - name: Create temporary nginx config file - run: perl -pe 's/\$(\w+)/$ENV{$1} //ge' ./nginx_template.txt > temp_default.conf - + run: perl -pe 's/\$(\w+)/$ENV{$1}/ge' ./nginx_template.txt > temp_default.conf - name: Copy temporary file to correct place run: cp -L temp_default.conf /etc/nginx/conf.d/default.conf