Commit 51a72443 authored by Olivier Le Monnier's avatar Olivier Le Monnier
Browse files

Configuration SSH pour utilisation passerelle

parent 8dafcffd
Loading
Loading
Loading
Loading
Loading
+3 −2
Changes for .gitlab-ci.yml: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -53,8 +53,9 @@ build:
deploy_preprod:
  stage: deploy
  script:
    - ping 193.55.126.7 -c 1
    - HTTP_PROXY=proxy.unicaen.fr:3128 git push root@193.55.126.7:/var/www/sygal.git master
    - echo "Host usygalpp1.unr-runn.fr" > ~/.ssh/config
    - echo "  ProxyCommand ssh -4 -W %h:%p gauthieb@ssh.unr-runn.fr 2> /dev/null" >> ~/.ssh/config
    - git push root@usygalpp1.unr-runn.fr:/var/www/sygal.git master
  when: manual
  only:
  - master