浏览代码

Update .gitlab-ci.yml file

Juraj Ďuďák 2 年之前
父节点
当前提交
4df41807c8
共有 1 个文件被更改,包括 9 次插入10 次删除
  1. 9 10
      .gitlab-ci.yml

+ 9 - 10
.gitlab-ci.yml

@@ -1,14 +1,13 @@
 before_script:
-        # Setup SSH deploy keys
-        - 'which ssh-agent || ( apt-get install -qq openssh-client )'
-        - eval $(ssh-agent -s)
-        - mkdir -p ~/.ssh
-        - chmod 600 ~/.ssh
-        - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
-        - chmod 600 ~/.ssh/id_rsa
-        - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
-        #rsync
-        #- apt-get update -qq && apt-get install -y --yes  --allow-unauthenticated -qq rsync
+    # Setup SSH deploy keys
+    - 'which ssh-agent || ( apt-get install -qq openssh-client )'
+    - eval $(ssh-agent -s)
+    - mkdir -p ~/.ssh
+    - chmod 600 ~/.ssh
+    - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
+    - chmod 600 ~/.ssh/id_rsa
+    - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
+
 stages: 
     - checks
     - build_release