diff options
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14cf22c..adbc034 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,13 @@ image: elecnix/ikiwiki +before_script: + - apt-get install -y curl + test: stage: test script: - - cd backend; ikiwiki --setup ikiwiki.setup ../wiki ../public + - cd backend; ikiwiki --setup ikiwiki.setup + - mv html public only: - branches - tags @@ -11,7 +15,8 @@ test: pages: stage: deploy script: - - cd backend; ikiwiki --setup ikiwiki.setup ../wiki ../public + - cd backend; ikiwiki --setup ikiwiki.setup + - mv html public artifacts: paths: - public |