Skip to content

Commit

Permalink
ci: fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
wildan3105 committed Nov 18, 2024
1 parent ad08df7 commit e4bf685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-blue-green.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ jobs:
echo "Delay finished"
echo "Update nginx port..."
sudo sed -i "s|proxy_pass http://localhost:[0-9]*;|proxy_pass http://localhost:$TARGET_PORT;|" "${{ env.NGINX_CONF }}"
sudo sed -i '' "s|proxy_pass http://localhost:[0-9]*;|proxy_pass http://localhost:$port;|" "${{ env.NGINX_CONF }}"
sudo nginx -s reload
echo "Nginx updated"

0 comments on commit e4bf685

Please sign in to comment.