blob: a8542e4c325ff3e8642ae587c6268234a1919e5d (
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
|
---
variables:
# This variable will ensure that the CI runner pulls in your theme from the submodule
GIT_SUBMODULE_STRATEGY: recursive
ALPINE_VERSION: "3.15"
image: alpine:$ALPINE_VERSION
test:
script:
- zola
except:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
script:
# Install the zola package from the alpine community repositories
- apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/v$ALPINE_VERSION/community/ zola=~0.14
# Execute zola build
- zola build
artifacts:
paths:
- public
only:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|