Introduction
Introduction Statistics Contact Development Disclaimer Help
tTry using hugo docker image for deployment - andersdamsgaard.com - my photogra…
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit af3d8d4a83a734c78e963756875cf292e5a8c764
parent 5e1414faf3837a197ef2d651cf06b7a1cb4020ef
Author: Anders Damsgaard <[email protected]>
Date: Fri, 2 Nov 2018 13:15:20 +0100
Try using hugo docker image for deployment
Diffstat:
M .gitlab-ci.yml | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -4,18 +4,22 @@ variables:
test:
image: registry.gitlab.com/pages/hugo:latest
script:
- - hugo
+ - hugo
except:
- - master
+ - master
+# deployment will fail until hugo is updated to version 0.50
deploy:
- image: alpine:edge # https://pkgs.alpinelinux.org/packages?name=&branch=edge
+ #image: alpine:edge # https://pkgs.alpinelinux.org/packages?name=&branch=ed…
+ image: registry.gitlab.com/pages/hugo:latest
before_script:
+ - env
- apk --no-cache add make hugo lftp
+ - hugo version
script:
- make deploy
- artifacts:
- paths:
- - public
+ # artifacts:
+ # paths:
+ # - public
only:
- master
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.