diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ade946bc21b5432ee78be4257523e5c138b76cf..21d24230c9424b9a26a3bc9c0c85e97d830f21c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,11 +3,11 @@ stages: - deploy build_ubuntu_gcc: - variables: - GIT_SUBMODULE_STRATEGY: recursive stage: build tags: - ubuntu-gcc + variables: + GIT_SUBMODULE_STRATEGY: recursive script: - mkdir debug - cd debug @@ -21,11 +21,11 @@ build_ubuntu_gcc: expire_in: never build_win10_msvc: - variables: - GIT_SUBMODULE_STRATEGY: recursive stage: build tags: - win10-msvc + variables: + GIT_SUBMODULE_STRATEGY: recursive script: - cd 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\' - .\Launch-VsDevShell.ps1 @@ -34,4 +34,18 @@ build_win10_msvc: - cd debug - cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake --build . - \ No newline at end of file + + deploy_doc_web: + stage: deploy + needs: ["build_ubuntu_gcc"] + dependencies: + - build_ubuntu_gcc + tags: + - webserver + variables: + GIT_STRATEGY: none + script: + - echo $CI_COMMIT_BRANCH + - pwd + - cd /html + - ls \ No newline at end of file