Explorar el Código

ci: 自动同步git上的job任务

许家凯 hace 4 años
padre
commit
8085751f70
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      start.sh

+ 6 - 0
start.sh

@@ -35,6 +35,12 @@ if [ $# -eq 0 ];then
         echo "---------------------------------------------------------------------------"
 fi
 
+# shellcheck disable=SC2164
+cd $bashPath/repo
+
+git pull origin master # 拉取仓库
+
+
 java -jar $bashPath/DataWorks-flow-touch.jar -q
 
 if [ $? -eq 0 ]; then