From 9652c287bc8dff6bded11056b50dcc2c521cacc6 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Wed, 1 Jan 2020 23:45:38 -0600 Subject: [PATCH] Try to get auto deploy in CI with hugo docker --- .gitlab-ci.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c594c67..127448d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,15 @@ - -image: monachus/hugo - -variables: - GIT_SUBMODULE_STRATEGY: recursive - -pages: - script: - - hugo - - hugo deploy aws --maxDeletes -1 - artifacts: - paths: - - public - only: +variables: + GIT_SUBMODULE_STRATEGY: recursive + +before_script: + - module load singularity/3.0.2 + + +deploy: + script: + - singularity run 'docker://gohugoio/hugo' hugo && hugo deploy aws --maxDeletes -1 + artifacts: + paths: + - public + only: - master \ No newline at end of file -- GitLab