Skip to content

Commit

Permalink
Removed sudo from copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Julie Lundberg Suter committed Mar 9, 2025
1 parent fac5b62 commit 2c08dd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
# Fixed envsubst code
- name: Create temporary nginx config file
run: envsubst "$(printf '${%s} ' $(env | cut -d= -f1))" < ./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: cat /etc/nginx/conf.d/default.conf

0 comments on commit 2c08dd6

Please sign in to comment.