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

Update .gitlab-ci.yml

Add SSH rsync comands
parent 53c6d77f
No related branches found
No related tags found
No related merge requests found
...@@ -6,9 +6,9 @@ before_script: ...@@ -6,9 +6,9 @@ before_script:
- python3 -V # Print out python version for debugging - python3 -V # Print out python version for debugging
stages: stages:
- deploy
- build
- test - test
- build
- deploy
navipy_install: navipy_install:
stage: build stage: build
...@@ -29,7 +29,16 @@ navipy_unittest: ...@@ -29,7 +29,16 @@ navipy_unittest:
doc_build: doc_build:
stage: deploy stage: deploy
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *ntStrictHostKeyChecking nonn" > ~/.ssh/config'
- 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/"
- pip3 install --user sphinx sphinx-rtd-theme - pip3 install --user sphinx sphinx-rtd-theme
- cd doc ; make html - cd doc ; make html
- ls build/html/ - ls build/html/
......
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