diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 2256eee..6d86624 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -27,10 +27,9 @@ jobs: # Fixed envsubst code - name: Create temporary nginx config file run: envsubst "$(printf '${%s} ' $(env | cut -d= -f1))" < ./nginx_template.txt > temp_default.conf - - name: Copy temporary file to correct place - run: sudo cp temp_default.conf /etc/nginx/conf.d/default.conf + run: cp temp_default.conf /etc/nginx/conf.d/default.conf - name: Show nginx file run: cat /etc/nginx/conf.d/default.conf