summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1b4ae4..27a0edd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,12 +2,13 @@ image: elecnix/ikiwiki
before_script:
- apt-get update
- - apt-get install -y curl
+ - apt-get install -y curl git
test:
stage: test
script:
- cd backend
+ - sed -i 's/gitorigin_branch: origin/gitorigin_branch:/' ikiwiki.setup
- ikiwiki --setup ikiwiki.setup
- cd ..
- mv html public
@@ -19,6 +20,7 @@ pages:
stage: deploy
script:
- cd backend
+ - sed -i 's/gitorigin_branch: origin/gitorigin_branch:/' ikiwiki.setup
- ikiwiki --setup ikiwiki.setup
- cd ..
- mv html public