Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/kskarthik/monopriv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarthik <kskarthik@gitlab.io>2019-12-07 14:34:29 +0300
committerkarthik <kskarthik@gitlab.io>2019-12-07 14:34:29 +0300
commit95e1909de873a73ce87a37b4f2a57b788caeab63 (patch)
tree7e2ea78b9e286a69f0cd50b5db8688e454fb58f0
parent0a79541b13fe2f0e15649278719945f3502af9c3 (diff)
fix ci
-rw-r--r--.gitlab-ci.yml22
-rw-r--r--build.sh6
2 files changed, 12 insertions, 16 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7501909..d1d67de 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,22 +1,12 @@
image: registry.gitlab.com/pages/hugo:latest
-#variables:
-# GIT_SUBMODULE_STRATEGY: recursive
-
-#test:
-# script:
-# - hugo
-
pages:
+ before_script:
+ - build.sh
script:
- - 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/
- artifacts:
+ - hugo -b https://kskarthik.gitlab.io/monopriv/
+ artifacts:
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/