Skip to content

Commit

Permalink
fix: added sudo somewhere else in trying to solve env var issue nginx…
Browse files Browse the repository at this point in the history
… config
  • Loading branch information
Jolan committed Mar 4, 2025
1 parent 6f345f3 commit c9238b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Copying nginx configuration file to the server
- name: Deploy nginx configuration file
run: |
sudo envsubst < ./nginx_secfit.conf > /etc/nginx/conf.d/nginx.conf
sudo envsubst < ./nginx_secfit.conf | sudo tee /etc/nginx/conf.d/nginx.conf > /dev/null
# Test the nginx configuration
- name: Test nginx configuration file
Expand Down

0 comments on commit c9238b0

Please sign in to comment.