C2A-Installation-Server/docker/script/update-web-platform-dev.sh

12 lines
263 B
Bash
Raw Normal View History

2019-05-08 04:33:08 +00:00
#!/bin/bash
echo "\Start Buildind Web Platform Dev"
cd /web/web-platform/dev
git pull
npm install
npm run build
cp -rdf /var/www/html/c2a-web-platform-dev/*
cp -R dist/c2a-web-platform/* /var/www/html/c2a-web-platform-dev
echo "Build finish Web Platform Dev\n"