Add variable for public deploy key

This commit is contained in:
Tim Schubert 2018-09-20 16:09:37 +02:00
parent 5d01c74440
commit 7a475ce466

View file

@ -4,10 +4,12 @@ variables:
REFERENCE_SOLUTION: $CI_PROJECT_NAMESPACE/solutions/solutions
JPLAG_PATH: /app/jplag.jar
CI_REPO_HOST: $CI_REGISTRY
SSH_PUBLIC_KEY: deploy_key.pub
stages:
- test
- doc
- projects
- deadline
- plagiates
@ -69,3 +71,15 @@ doc:
only:
- master
create_projects:
## create projects for all enrolled students
stage: projects
tags:
- abgabesystem
script:
- abgabesystem projects -c $CI_PROJECT_NAMESPACE -d $SSH_PUBLIC_KEY
only:
- master