Skip to content
Snippets Groups Projects
Verified Commit 33572644 authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

[#25] add deployment to webserver

parent f1cd7c57
No related branches found
No related tags found
1 merge request!16Resolve "CI Tool: Build Doxygen documentation and upload"
Pipeline #24829 failed
...@@ -34,8 +34,27 @@ build_win10_msvc: ...@@ -34,8 +34,27 @@ build_win10_msvc:
- cd debug - cd debug
- cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . - cmake --build .
deploy_doc_web: deploy_doc_develop:
only:
refs:
- develop
stage: deploy
needs: ["build_ubuntu_gcc"]
dependencies:
- build_ubuntu_gcc
tags:
- webserver
variables:
GIT_STRATEGY: none
script:
- mv /doc/html /html
- chown 33:33 /html -R
deploy_doc_branch:
except:
refs:
- develop
stage: deploy stage: deploy
needs: ["build_ubuntu_gcc"] needs: ["build_ubuntu_gcc"]
dependencies: dependencies:
...@@ -45,5 +64,6 @@ deploy_doc_web: ...@@ -45,5 +64,6 @@ deploy_doc_web:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
- echo $CI_COMMIT_BRANCH - mv /doc/html /html/branch/$CI_COMMIT_BRANCH
- ls - chown 33:33 /html/branch/$CI_COMMIT_BRANCH -R
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment