From 0fdd723f941d1d9bd76c38807cf919a5fa3367b9 Mon Sep 17 00:00:00 2001 From: Josh Morgenstern <josh@morgenstern.dev> Date: Mon, 17 May 2021 23:22:16 +0200 Subject: [PATCH] debug webserver runner --- .gitlab-ci.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ade946b..21d24230 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 -- GitLab