Skip to content

Commit

Permalink
Fix antd4.x example build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyomVancyan authored May 11, 2024
1 parent 5db4058 commit a4977ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git restore .
git pull

cd ~/antd-phone-input/examples/antd4.x
npm install && npm run build
npm install --legacy-peer-deps && npm run build

cd ~/antd-phone-input/examples/antd5.x
npm install && npm run build
Expand All @@ -15,4 +15,4 @@ sudo mkdir /var/www/playground/antd-phone-input/antd5.x
sudo cp -r ~/antd-phone-input/examples/antd4.x/build/* /var/www/playground/antd-phone-input/antd4.x
sudo cp -r ~/antd-phone-input/examples/antd5.x/build/* /var/www/playground/antd-phone-input/antd5.x

sudo service nginx restart
sudo service nginx restart

0 comments on commit a4977ff

Please sign in to comment.