From 0d0f937a31f4e4a5277846ddbe3d6193e69143d4 Mon Sep 17 00:00:00 2001 From: Sondre Malerud Date: Thu, 13 Mar 2025 12:54:37 +0100 Subject: [PATCH] test --- .github/workflows/update_primary_nginx.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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