diff --git a/.github/workflows/deploy_nginx.yml b/.github/workflows/deploy_nginx.yml index 9ee16e1..10628f9 100644 --- a/.github/workflows/deploy_nginx.yml +++ b/.github/workflows/deploy_nginx.yml @@ -3,15 +3,15 @@ name: Deploy Nginx Configuration on: push: branches: - - main # Adjust if you're using a different branch + - main jobs: deploy: - runs-on: self-hosted # This runs on your server - + runs-on: self-hosted + steps: - name: Checkout repository - uses: actions/checkout@v4 # Fetches the latest code + uses: actions/checkout@v4 - name: Copy nginx config to server run: sudo cp ./nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf