Skip to content

Commit

Permalink
try removing sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianrd committed Mar 18, 2025
1 parent 29a63eb commit 2160a9e
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 @@ -24,10 +24,7 @@ jobs:
envsubst '$PROD_PORT_PREFIX $GATEWAY_POSTFIX $DEV_PORT_PREFIX $STAG_PORT_PREFIX' < ./nginx_template.txt > temp_default.conf
- name: Copy temporary file to correct place
run: sudo cp temp_default.conf /etc/nginx/conf.d/default.conf
run: cp temp_default.conf /etc/nginx/conf.d/default.conf

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

- name: Reload Nginx
run: sudo systemctl reload nginx
run: cat /etc/nginx/conf.d/default.conf

0 comments on commit 2160a9e

Please sign in to comment.