CI/CD
This commit is contained in:
parent
8ce2f26fee
commit
4582382c4d
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
image: alpine:latest
|
||||||
|
variables:
|
||||||
|
# This variable will ensure that the CI runner pulls in your theme from the submodule
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
pages:
|
||||||
|
script:
|
||||||
|
# Install the zola package from the alpine community repositories
|
||||||
|
- apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola
|
||||||
|
# Execute zola build
|
||||||
|
- zola build
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
# Path of our artifacts
|
||||||
|
- public
|
||||||
|
|
||||||
|
# This config will only publish changes that are pushed on the master branch
|
||||||
|
only:
|
||||||
|
- master
|
Loading…
Reference in a new issue