blob: fd122989a9202db80190326fd6dcfe5458c2b845 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|