Skip to content

Commit 1b2f044

Browse files
committed
Fix the playground deployment script
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
1 parent c0d5ecd commit 1b2f044

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/deploy.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ cd ~/antd-phone-input/
33
git restore .
44
git pull
55

6-
nvm use 18
7-
npm i -g yarn
8-
96
cd ~/antd-phone-input/examples/antd4.x
10-
yarn && yarn build
7+
npm install && npm run build
118

129
cd ~/antd-phone-input/examples/antd5.x
13-
yarn && yarn build
10+
npm install && npm run build
1411

1512
sudo rm -r /var/www/playground/antd-phone-input/*
1613
sudo mkdir /var/www/playground/antd-phone-input/antd4.x

0 commit comments

Comments
 (0)