Skip to content

Commit

Permalink
Added sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sondre Malerud committed Mar 13, 2025
1 parent 797f4bd commit ff151e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: envsubst '$PROD_PORT_PREFIX,$DEV_PORT_PREFIX,$STAG_PORT_PREFIX,$GATEWAY_POSTFIX' < ./nginx_template.txt > nginx_securefit.conf

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

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

- name: Restart Nginx
run: sudo systemctl restart nginx
Expand Down

0 comments on commit ff151e1

Please sign in to comment.