From 2f07b6e73eb39aef2b78c8ce68bb5a35db7ce400 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 6 Jan 2016 20:23:39 +1100 Subject: [PATCH] CI: publish doxygen to github pages --- .gitlab-ci.yml | 10 ++++++++++ qcsrc/Doxyfile | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d15b1f03..933eb4b06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,16 @@ doxygen: # rename to 'pages' when gitlab.com allows pages to exceed 100MiB script: - cd qcsrc && doxygen - mv html ../public + - for i in {0..0}; do eval $(printf "echo \$id_rsa_%02d\n" $i) >> ~/.ssh/id_rsa_base64; done + - base64 --decode ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa + - chmod 600 ~/.ssh/id_rsa + - echo -e "Host *\n\tStrictHostKeyChecking no\n\tLogLevel ERROR\n" >> ~/.ssh/config + - git config --global user.name "Gitlab CI" + - git config --global user.email "<>" + - git clone --single-branch --depth 1 ${DEPLOY_HOST}:${DEPLOY_REPO} ~/deploy_ + - mkdir ~/deploy && mv ~/deploy_/.git ~/deploy && rm -r ~/deploy_ + - cp -r ../public/* ~/deploy + - cd ~/deploy && git add -A . && git commit -m "Update" && git push origin gh-pages artifacts: paths: - public diff --git a/qcsrc/Doxyfile b/qcsrc/Doxyfile index f177a2745..cf700aa84 100644 --- a/qcsrc/Doxyfile +++ b/qcsrc/Doxyfile @@ -68,7 +68,7 @@ OUTPUT_DIRECTORY = # performance problems for the file system. # The default value is: NO. -CREATE_SUBDIRS = NO +CREATE_SUBDIRS = YES # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII # characters to appear in the names of generated files. If set to NO, non-ASCII -- 2.39.2