瀏覽代碼

fix glci submodules

SBird1337 7 年之前
父節點
當前提交
57b467fb06
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      .gitlab-ci.yml

+ 3
- 1
.gitlab-ci.yml 查看文件

24
   - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
24
   - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
25
   - chmod 644 ~/.ssh/known_hosts
25
   - chmod 644 ~/.ssh/known_hosts
26
 
26
 
27
-  - echo "$SSH_HOST2 > ~/.ssh/config
27
+  - echo "$SSH_HOST" > ~/.ssh/config
28
   - chmod 644 ~/.ssh/config
28
   - chmod 644 ~/.ssh/config
29
+  - git submodule sync --recursive
30
+  - git submodule update --init
29
 
31
 
30
 stages:
32
 stages:
31
   - build
33
   - build