tTry using hugo docker image for deployment - andersdamsgaard.com - my photography webpage
(HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit af3d8d4a83a734c78e963756875cf292e5a8c764
(DIR) parent 5e1414faf3837a197ef2d651cf06b7a1cb4020ef
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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=edge
+ 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