Commit 272c1af0 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Update .gitlab-ci.yml

parent 07b93f09
Pipeline #394 failed with stages
in 27 seconds
image: maven:3.6.2-jdk-8
variables:
SAREF_PORTAL_KEY: <my_private_key>
build:
stage: build
script:
......@@ -10,4 +13,13 @@ build:
only:
- master
deploy:
stage: deploy
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SAREF_PORTAL_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- scp -pr target/saref-pipeline.jar saref-dev@saref.etsi.org:~/saref-pipeline.jar
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment