summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-26 23:53:34 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-26 23:53:34 +0100
commite19ac8c0cc8b071c5f2c455a8d1f78370949dcfe (patch)
tree77b4d2086c4e1c3c5033f46881f05069c96a516a /.gitlab-ci.yml
parentedd12ca03bc129c4e12dc706dda5aa1df86f931d (diff)
downloadquatuorbellefeuille.com-e19ac8c0cc8b071c5f2c455a8d1f78370949dcfe.tar.xz
Add CI configuration
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..5a26ed9
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+image: alpine:latest
+
+stages:
+ - build
+ - publish
+
+make-site:
+ stage: build
+ script:
+ - apk add --no-cache make
+ - make site
+ artifacts:
+ paths:
+ - public
+
+pages:
+ stage: publish
+ dependencies:
+ - make-site
+ only:
+ - master
+ script:
+ - "true"
+ artifacts:
+ paths:
+ - public