change repo to mirrors.huawei
(cherry picked from commit 8225a99152644be1fee38fbfa8deea4c819c2e04)
This commit is contained in:
parent
c0568dbf4c
commit
1c6c19da43
@ -150,10 +150,10 @@ website for A-Ops, deployed by Nginx
|
||||
%autosetup -n %{name}-v%{version}
|
||||
# prepare for web
|
||||
pushd aops-web
|
||||
npm config set registry https://repo.huaweicloud.com/repository/npm/
|
||||
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
|
||||
npm cache clean -f
|
||||
npm install --global yarn
|
||||
yarn config set registry https://repo.huaweicloud.com/repository/npm
|
||||
yarn config set registry https://mirrors.huaweicloud.com/repository/npm
|
||||
popd
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user