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