Explorar el Código

更新构建脚本

reghao hace 2 años
padre
commit
712535bdea
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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