Skip to content

Commit 58f8ea8

Browse files
authored
chore(Deploy): update deploy script (#5598)
1 parent 809ede2 commit 58f8ea8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/linux/deploy.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#! /bin/bash
2+
# wget https://raw.githubusercontent.com/dotnetcore/BootstrapBlazor/refs/heads/main/scripts/linux/deploy.sh
23

34
echo "*********************** clean env ***********************"
45
sudo rm -fr BootstrapBlazor
@@ -8,7 +9,7 @@ echo "*********************** apt update ***********************"
89
sudo apt update
910

1011
echo "*********************** install git ***********************"
11-
echo yes|sudo apt install git
12+
yes|sudo apt install git
1213

1314
echo "*********************** install BootstrapBlazor ***********************"
1415
sudo git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
@@ -25,7 +26,7 @@ echo "*********************** install ba.blazor.service ***********************"
2526
sudo systemctl enable ba.blazor
2627

2728
echo "*********************** install nginx ***********************"
28-
echo yes|sudo apt install nginx
29+
yes|sudo apt install nginx
2930

3031
echo "*********************** copy nginx config ***********************"
3132
sudo cp BootstrapBlazor/scripts/linux/nginx.conf /etc/nginx/
@@ -36,7 +37,7 @@ sudo cp BootstrapBlazor/scripts/linux/cert/* /etc/nginx/cert/
3637

3738
echo "*********************** install chrome ***********************"
3839
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
39-
sudo yes|sudo apt install ./google-chrome-stable_current_amd64.deb
40+
yes|sudo apt install ./google-chrome-stable_current_amd64.deb
4041

4142
echo "*********************** install support font ***********************"
4243
sudo apt install fonts-wqy-microhei

0 commit comments

Comments
 (0)