summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKarl Semich <0xloem@gmail.com>2016-08-28 08:33:18 -0400
committerKarl Semich <0xloem@gmail.com>2016-08-28 08:33:18 -0400
commit7523a68dd6480713d8c1592c9631dc86b9362331 (patch)
tree25a5806ce39213aaeb11e4098ab9db732fa32075 /.gitlab-ci.yml
parent7f12c29cb85625dc0f6b293bc65c353c2f66feff (diff)
parent23de050ac131c1d3b5fc7ed0b5bb0b43dd6a31c3 (diff)
downloadstandingwithresilience-7523a68dd6480713d8c1592c9631dc86b9362331.tar.gz
standingwithresilience-7523a68dd6480713d8c1592c9631dc86b9362331.zip
Merge branch 'master' of https://gitlab.com/standingwithresilience/standingwithresilience.gitlab.io
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..d1b4ae4
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+image: elecnix/ikiwiki
+
+before_script:
+ - apt-get update
+ - apt-get install -y curl
+
+test:
+ stage: test
+ script:
+ - cd backend
+ - ikiwiki --setup ikiwiki.setup
+ - cd ..
+ - mv html public
+ only:
+ - branches
+ - tags
+
+pages:
+ stage: deploy
+ script:
+ - cd backend
+ - ikiwiki --setup ikiwiki.setup
+ - cd ..
+ - mv html public
+ artifacts:
+ paths:
+ - public
+ only:
+ - master