diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 9733e17..a86bf75 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -1,4 +1,4 @@ -name: UNFINISHED - setup nginx from the configuration file +name: setup nginx from the configuration file on: workflow_dispatch: @@ -25,7 +25,10 @@ jobs: # Maybe look at https://www.baeldung.com/linux/envsubst-command to get an idea - name: Copy temporary file to correct place - run: cp temp_default.conf /etc/nginx/conf.d/default.conf + run: cp ./nginx/nginx.conf /etc/nginx/conf.d/nginx_securefit.conf - name: Show nginx file - 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