diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..fd12298 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +image: registry.gitlab.com/pages/hugo:latest + +#variables: +# GIT_SUBMODULE_STRATEGY: recursive + +#test: +# script: +# - hugo + +pages: + script: + - git clone https://github.com/gohugoio/hugobasicexample.git && mkdir -p hugobasicexample/themes/monopriv + - cp -r archetypes \ + exampleSite \ + images \ + layouts \ + resources \ + static \ + theme.toml \ + hugobasicexample/themes/monopriv/ && ls + - cd hugobasicexample/ + - mv themes/monopriv/exampleSite/config.toml . + - hugo -b https://kskarthik.gitlab.io/monopriv/ + artifacts: + paths: + - public + only: + - master |