diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f425d04..f16ac31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,14 @@ image: registry.gitlab.com/pages/hugo:latest pages: + script: - apk add git - - git clone https://github.com/gohugoio/hugoBasicExample - - cd hugoBasicExample + - git clone https://github.com/gohugoio/hugoBasicExample && cd hugoBasicExample - git submodule add -f https://gitlab.com/kskarthik/monopriv themes/monopriv - mv themes/monopriv/exampleSite/config.toml . - hugo -b https://kskarthik.gitlab.io/monopriv/ - - cd .. - - mv hugoBasicExample/public . + - cd .. && mv hugoBasicExample/public . artifacts: paths: - public |