From 7f72c2eb0ce5085541f07b52e67f8d180200a3c8 Mon Sep 17 00:00:00 2001 From: Sander Johansen Date: Wed, 5 Mar 2025 08:23:28 +0100 Subject: [PATCH] Debug --- .github/workflows/update_primary_nginx.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index c1f9e2d..824d2bd 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -32,18 +32,14 @@ jobs: - name: Print Current User run: whoami - - name: Validate Nginx Configuration (Before Deploy) - run: sudo nginx -t - - name: Copy Nginx Config to Server - run: | - sudo cp nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf + run: sudo cp nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf - name: Show Deployed Nginx Config - run: cat /etc/nginx/conf.d/default.conf + run: cat /etc/nginx/conf.d/nginx_securefit.conf - name: Restart Nginx run: sudo systemctl reload nginx - - name: Verify Nginx Status - run: sudo systemctl status nginx \ No newline at end of file + - name: Verify Nginx Config + run: sudo nginx -t \ No newline at end of file