Skip to content

Commit

Permalink
Revert "try removing sudo"
Browse files Browse the repository at this point in the history
This reverts commit 2160a9e.
  • Loading branch information
adrianrd committed Mar 18, 2025
1 parent 2160a9e commit 68b079b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ 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: cp temp_default.conf /etc/nginx/conf.d/default.conf
run: sudo cp temp_default.conf /etc/nginx/conf.d/default.conf

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

- name: Reload Nginx
run: sudo systemctl reload nginx

0 comments on commit 68b079b

Please sign in to comment.