Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/remmina-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2019-01-25 16:40:37 +0300
committerAntenore Gatta <antenore@simbiosi.org>2019-01-25 16:40:37 +0300
commit51944472d9b0a8842216a53198a9fa8a4f9bbe84 (patch)
tree1d8fd9bed3484e8cb8e6adfbcc990539df7c9299
parent3e76a9effd396c7d92ffd3d2f32e9b92754a788a (diff)
Tryng to fix pushing to remminadoc.gitlab.io
-rw-r--r--.gitlab-ci.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e73e9c6..6bc43fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,15 +7,6 @@ variables:
stages:
- updsource
-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' | 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}"
-
remminadoc build:
stage: updsource
before_script:
@@ -25,12 +16,17 @@ remminadoc build:
- 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 config --global user.name "${GITLAB_USER_NAME}"
- - git config --global user.email "${GITLAB_USER_EMAIL}"
- 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