Explorar o código

ci判断push文件执行相应命令

hu hao %!s(int64=4) %!d(string=hai) anos
pai
achega
dccd38fe18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .gitlab-ci.yml

+ 1 - 1
.gitlab-ci.yml

@@ -51,6 +51,6 @@ deploy:
 #    - cd /var/www/bswas_test && sudo git config --global credential.helper store
 #    - cd /var/www/bswas_test && sudo git config --global credential.helper store
 #    - sudo git pull
 #    - sudo git pull
     - sudo bash ci/scpUpdate.sh
     - sudo bash ci/scpUpdate.sh
-#    - sudo bash ci/executeCommand.sh
+    - sudo bash ci/executeCommand.sh
   only:
   only:
     - master
     - master