Skip to content

Commit

Permalink
Update update_primary_nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cevin Dominic Neubauer authored and GitHub Enterprise committed Mar 5, 2025
1 parent e7fa863 commit 2a04f2a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UNFINISHED - setup nginx from the configuration file
name: setup nginx from the configuration file

on:
workflow_dispatch:
Expand All @@ -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

0 comments on commit 2a04f2a

Please sign in to comment.