浏览代码

更新构建脚本

reghao 2 年之前
父节点
当前提交
712535bdea
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      build.sh

+ 2 - 1
build.sh

@@ -2,6 +2,7 @@
 
 
 commit_id=`git rev-parse --short HEAD`
-#npm run build
+npm run build
 docker build -t docker.reghao.cn/tnb/bili:${commit_id} .
 docker push docker.reghao.cn/tnb/bili:${commit_id}
+rm -rf dist