Skip to content

Update .env

Update .env #74

Workflow file for this run

name: Deploy Nginx Configuration
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Copy nginx config to server
run: sudo cp ./nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf
- name: Test nginx configuration
run: sudo nginx -t
- name: Restart nginx
run: sudo systemctl reload nginx
- name: Verify Nginx is running
run: systemctl is-active --quiet nginx && echo "Nginx is running" || echo "Nginx is NOT running!"