diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index c1417a0..5b4d15c 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -26,13 +26,13 @@ jobs: run: envsubst '$PROD_PORT_PREFIX,$DEV_PORT_PREFIX,$STAG_PORT_PREFIX,$GATEWAY_POSTFIX' < ./nginx_template.txt > nginx_securefit.conf - name: Copy temporary file to correct place - run: sudo cp nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf + run: cp nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf - name: Show nginx file - run: sudo cat /etc/nginx/conf.d/nginx_securefit.conf + run: cat /etc/nginx/conf.d/nginx_securefit.conf - name: Restart Nginx - run: sudo systemctl restart nginx + run: systemctl restart nginx - name: Verify that nginx configuration works - run: sudo nginx -t + run: nginx -t