美文网首页
front-run.sh

front-run.sh

作者: zxk175 | 来源:发表于2020-03-11 11:45 被阅读0次
    cd mgr2.0
    
    git pull
    
    if [ ! -d "/node_modules" ]; then
      npm ci
    fi
    
    npm run build
    
    path="/home/www/v2-mgr"
    
    if [ ! -d $path ]; then
      mkdir -p $path
    fi
    
    sudo cp -r dist/* $path
    
    exit
    
    

    相关文章

      网友评论

          本文标题:front-run.sh

          本文链接:https://www.haomeiwen.com/subject/lieqjhtx.html