From 4582382c4d9137f3149d465ff34361ec7bbccbac Mon Sep 17 00:00:00 2001 From: June Date: Tue, 1 Feb 2022 20:09:55 +0100 Subject: [PATCH] CI/CD --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ddc2664 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file