Skip to content

Commit

Permalink
Update update_primary_nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emiloo authored and GitHub Enterprise committed Apr 3, 2025
1 parent 6903890 commit 84c193d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ jobs:
- name: Create temporary nginx config file
run: envsubst '${DEV_PORT_PREFIX}, ${STAG_PORT_PREFIX}, ${PROD_PORT_PREFIX}, ${GATEWAY_POSTFIX},' < ./nginx_template.txt > temp_default.conf

- name: user of runner
run: whoami

- name: Copy temporary file to correct place
run: sudo cp temp_default.conf /etc/nginx/conf.d/nginx_securefit.conf
run: cp temp_default.conf /etc/nginx/conf.d/nginx_securefit.conf

- name: Show nginx file
run: cat /etc/nginx/conf.d/nginx_securefit.conf

- name: Restart NGINX
run: sudo systemctl reload nginx
run: systemctl reload nginx

0 comments on commit 84c193d

Please sign in to comment.