blob: 6bc43fd4b2d61faf4691bdfd2ca4832be7829dc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
---
image: ubuntu:18.04
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- updsource
remminadoc build:
stage: updsource
before_script:
- apt-get update -qq
- apt-get install -y -qq software-properties-common
python3-software-properties
- apt-get install -y -qq build-essential git-core doxygen graphviz libxslt1.1
xsltproc
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' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- git config --global user.name "${GITLAB_USER_NAME}"
- git config --global user.email "${GITLAB_USER_EMAIL}"
- cd Remmina
- doxygen
- cd ../RemminaDoc
- git add --all
- git commit -am "Automatic doc build from remmina-ci"
- git remote set-url origin git@gitlab.com:Remmina/remminadoc.gitlab.io.git
- git push origin master
|