diff options
-rw-r--r-- | .gitlab-ci.yml | 18 | ||||
-rw-r--r-- | build.sh | 6 |
2 files changed, 15 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 199c2e1..341b348 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,17 @@ image: registry.gitlab.com/pages/hugo:latest -#variables: -# GIT_SUBMODULE_STRATEGY: recursive - -#test: -# script: -# - hugo - pages: + before_script: + - build.sh script: +<<<<<<< HEAD + - hugo -b https://kskarthik.gitlab.io/monopriv/ + artifacts: +======= - build.sh artifacts: +>>>>>>> e0205d20aa5eff28434f6ae215619fef6fd65ab2 paths: - public - only: - - master + only: + - master diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..9056aa2 --- /dev/null +++ b/build.sh @@ -0,0 +1,6 @@ +apk add git +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/ |