diff options
-rw-r--r-- | .gitlab-ci.yml | 29 |
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 |