From f6849e4e74ea47e5f4b9bcbdf14d7e6bfd8417a6 Mon Sep 17 00:00:00 2001 From: Cevin Dominic Neubauer Date: Tue, 11 Mar 2025 14:32:08 +0100 Subject: [PATCH] Update update_primary_nginx.yml --- .github/workflows/update_primary_nginx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 3ebe6db..46aaa77 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -27,10 +27,10 @@ jobs: run: cat ./temp_default.conf - name: Copy temporary file to correct place - run: cp ./temp_default.conf /etc/nginx/conf.d/nginx_securefit.conf + run: echo "${{secrets.PASSWORD}}" | sudo -S cp ./temp_default.conf /etc/nginx/conf.d/nginx_securefit.conf - name: Show nginx file run: cat /etc/nginx/conf.d/nginx_securefit.conf - name: Restart nginx - run: sudo systemctl reload nginx + run: echo "${{secrets.PASSWORD}}" | sudo -S systemctl reload nginx