diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c3314ee0c70bf55e0544b74a2abaf3f23282db2..4f4dd860d3c7156355992460b2baa434701b8799 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,30 +13,30 @@ stages: build.dev: stage: build_stage script: - - singularity run 'docker://monachus/hugo' hugo --baseURL http://dev.strandlab.net/ + - singularity run 'docker://monachus/hugo' hugo --baseURL http://dev.strandlab.net/ artifacts: paths: - - public/ + - public/ expire_in: 1 week cache: paths: - - public/ + - public/ except: - tags build.live: stage: build_stage script: - - singularity run 'docker://monachus/hugo' hugo + - singularity run 'docker://monachus/hugo' hugo artifacts: paths: - - public/ + - public/ expire_in: 1 week cache: paths: - - public/ + - public/ only: - - tags + - tags test: stage: test_stage @@ -46,17 +46,17 @@ test: deploy.dev: stage: deploy_stage script: - - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 + - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 dependencies: - - build.dev + - build.dev only: - - master + - master except: - - tags + - tags deploy.live: stage: deploy_stage script: - - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 + - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 only: - - tags \ No newline at end of file + - tags