Skip to content

Commit

Permalink
chore: fix CD script
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsu4755 committed Jul 15, 2023
2 parents 6c7750a + 5fcda8a commit 67e9df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ else
fi

echo ">> \$service_url 에 http://127.0.0.1:${TARGET_PORT} 를 연결합니다"
echo "set $service_url http://127.0.0.1:${TARGET_PORT};" | tee /home/ubuntu/service_url.inc
echo "set \$service_url http://127.0.0.1:${TARGET_PORT};" | tee /home/ubuntu/service_url.inc
echo ">> 현재 Nginx proxies to ${TARGET_PORT}"

sudo service nginx reload

echo ">> Nginx Reload"
echo ">> Nginx Reload"

0 comments on commit 67e9df9

Please sign in to comment.