diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c594c6766467f9cda4776a5f9efd322401ea9118..127448d00842fd73d7dcc131bc26e0a0a95db42e 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