Skip to content
Snippets Groups Projects
Commit 9e32c0e1 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Deploy docs to dop288

parent c199a6f4
Branches
Tags
1 merge request!10Deploy docs to dop288
Pipeline #1238 passed
...@@ -2,6 +2,7 @@ stages: ...@@ -2,6 +2,7 @@ stages:
- build-base - build-base
- build-lofarbeam - build-lofarbeam
- build-doc - build-doc
- deploy-doc
- build-dependency - build-dependency
- test-dependency - test-dependency
- deploy - deploy
...@@ -44,6 +45,21 @@ build-doc: ...@@ -44,6 +45,21 @@ build-doc:
paths: paths:
- htmldoc - htmldoc
deploy-doc:
stage: deploy-doc
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | base64 -d | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan -H dop288 > ~/.ssh/known_hosts
script:
- scp -r htmldoc/* citt@dop288:LOFARBeam
only:
refs:
- master
build-dp3: build-dp3:
stage: build-dependency stage: build-dependency
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment