Skip to content
Snippets Groups Projects
Commit 10f77fb5 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Update .gitlab-ci.yml

parent 4299d58d
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,12 @@ doc_build: ...@@ -31,11 +31,12 @@ doc_build:
stage: deploy stage: deploy
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'which sshpass || apt-get install sshpass'
- 'which rsync || apt-get install rsync'
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *ntStrictHostKeyChecking nonn" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *ntStrictHostKeyChecking nonn" > ~/.ssh/config'
- sshpass -p $PASS_SSH ssh-add <(echo "$STAGING_PRIVATE_KEY") - sshpass -p "$PASS_SSH" ssh-add <(echo "$STAGING_PRIVATE_KEY")
- apt-get install rsync
script: script:
- ssh -p50022 bolirev@bioneuro77.biologie.uni-bielefeld.de "mkdir -p /fastdata/html/navipy/" - ssh -p50022 bolirev@bioneuro77.biologie.uni-bielefeld.de "mkdir -p /fastdata/html/navipy/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment