diff options
author | karthik <kskarthik@gitlab.io> | 2019-12-06 12:57:56 +0300 |
---|---|---|
committer | karthik <kskarthik@gitlab.io> | 2019-12-06 12:57:56 +0300 |
commit | 21a13fde3d9e0e1180907040a1444b3ac54b8f3a (patch) | |
tree | a46e5ffae668935c1fc446a1081759e29d463e71 /.gitlab-ci.yml | |
parent | 7d7d24a4d2db59326c0551b0ed6a2088490375ea (diff) |
test ci
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 |