Skip to content

Commit

Permalink
feat:使用上游仓库地址
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 10, 2024
1 parent 358fe16 commit 34928eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions initfs/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cp -av /tmp/nginx.conf /etc/nginx/http.d/default.conf
cd /var/www

if [ ! -d /var/www/api ]; then
wget https://github.com/rehiy/dailyhot-api/archive/refs/heads/master.tar.gz
wget https://github.com/imsyy/DailyHotApi/archive/refs/heads/master.tar.gz
tar xvf master.tar.gz && mv dailyhot-api-master api
rm -f master.tar.gz
fi
Expand All @@ -27,7 +27,7 @@ cd /var/www/api
cd /var/www

if [ ! -d /var/www/front-build ]; then
wget https://github.com/rehiy/dailyhot-front/archive/refs/heads/master.tar.gz
wget https://github.com/imsyy/DailyHot/archive/refs/heads/master.tar.gz
tar xvf master.tar.gz && mv dailyhot-front-master front-build
rm -f master.tar.gz
fi
Expand Down

0 comments on commit 34928eb

Please sign in to comment.