Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Johansen committed Mar 5, 2025
1 parent 68062a7 commit 7f72c2e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Verify Nginx Config
run: sudo nginx -t

0 comments on commit 7f72c2e

Please sign in to comment.