summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkiWiki <ikiwiki.info>2019-09-02 14:14:06 -0400
committerIkiWiki <ikiwiki.info>2019-09-02 14:14:06 -0400
commit2a56a7fe014b8e8fbc445406e2a700eaa49dee2b (patch)
tree55fd035e90eba82b5888f7fcdc69f8a916623a30
parent258fc3d7f7ba7983dcd3dac1429936227233eaf2 (diff)
downloadstandingwithresilience-2a56a7fe014b8e8fbc445406e2a700eaa49dee2b.tar.gz
standingwithresilience-2a56a7fe014b8e8fbc445406e2a700eaa49dee2b.zip
try to fix gitlab update issue
-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