Skip to content

Commit

Permalink
Update update_primary_nginx.yml- removed the extra space in perl command
Browse files Browse the repository at this point in the history
  • Loading branch information
Garima Ketan Chauhan authored and GitHub Enterprise committed Mar 4, 2025
1 parent 40eaa65 commit da78cb6
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 @@ -26,8 +26,7 @@ jobs:
# Maybe look at https://www.baeldung.com/linux/envsubst-command to get an idea

- name: Create temporary nginx config file
run: perl -pe 's/\$(\w+)/$ENV{$1} //ge' ./nginx_template.txt > temp_default.conf

run: perl -pe 's/\$(\w+)/$ENV{$1}/ge' ./nginx_template.txt > temp_default.conf

- name: Copy temporary file to correct place
run: cp -L temp_default.conf /etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit da78cb6

Please sign in to comment.