diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6048dd2fbab20b8e8f5ca98314d3a61942248017..6f4c664e8a30419236d6f578adf482154206f679 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ before_script: stages: - build_stage + - test_stage - deploy_stage build.dev: @@ -20,8 +21,8 @@ build.dev: cache: paths: - public/ - only: - - develop + except: + - tags build.live: stage: build_stage @@ -35,7 +36,13 @@ build.live: paths: - public/ only: - - master + - tags + +test: + stage: test_stage + script: + - singularity run 'docker://18fgsa/html-proofer:gitlab-ci' htmlproofer ./public --empty_alt_ignore + deploy.dev: stage: deploy_stage @@ -43,8 +50,8 @@ deploy.dev: - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 dependencies: - build.dev - only: - - develop + except: + - tags deploy.live: stage: deploy_stage @@ -53,4 +60,5 @@ deploy.live: dependencies: - build.live only: + - tags - master \ No newline at end of file diff --git a/layouts/custom/hu.donor.deep.html b/layouts/custom/hu.donor.deep.html index 614708e4fb63e46dc4ebc45d5307248db1ea7d3b..11327e217df86e92c2501db1c66f2c8642857a32 100644 --- a/layouts/custom/hu.donor.deep.html +++ b/layouts/custom/hu.donor.deep.html @@ -104,7 +104,7 @@ <div class="columnF"> <h4 id="label.ClusterVis"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.ClusterVis" src="" /> </div> <br> @@ -112,7 +112,7 @@ <div class="columnF"> <h4 id="label.Feature"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.Feature" src="" /> </div> <br> @@ -120,7 +120,7 @@ <div class="columnF"> <h4 id="label.ViolinBox"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.ViolinBox" src="" /> </div> <br> diff --git a/layouts/custom/hu.donor.shallow.html b/layouts/custom/hu.donor.shallow.html index 0d5407c52d62282660697578136a01ac026a4136..8f8278303cdc8a5ac26e597a64a2e9f15ee327e7 100644 --- a/layouts/custom/hu.donor.shallow.html +++ b/layouts/custom/hu.donor.shallow.html @@ -101,7 +101,7 @@ <div class="columnF"> <h4 id="label.ClusterVis"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.ClusterVis" src="" /> </div> <br> @@ -109,7 +109,7 @@ <div class="columnF"> <h4 id="label.Feature"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.Feature" src="" /> </div> <br> @@ -117,7 +117,7 @@ <div class="columnF"> <h4 id="label.ViolinBox"> </h3> - <div class="img"> + <div data-proofer-ignore class="img"> <img id="img.ViolinBox" src="" /> </div> <br>