Skip to content

Commit

Permalink
Fix yarn permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyomVancyan authored May 11, 2024
1 parent a3968e2 commit e983b66
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ cd ~/mui-phone-input/
git restore .
git pull

nvm use 18
npm i -g yarn

cd ~/mui-phone-input/examples/material
yarn && yarn build
npm install && npm run build

sudo rm -r /var/www/playground/mui-phone-input/*
sudo mkdir /var/www/playground/mui-phone-input/material
sudo cp -r ~/mui-phone-input/examples/material/build/* /var/www/playground/mui-phone-input/material

sudo service nginx restart
sudo service nginx restart

0 comments on commit e983b66

Please sign in to comment.