tRun test and deploy on different docker images - andersdamsgaard.com - my phot… | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit a5910db0f207179bb7e61db96ed2e14b5c80954c | |
parent 5c234d5e8822753e565b2fd94d279d1cb0ee3f20 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 2 Nov 2018 13:05:54 +0100 | |
Run test and deploy on different docker images | |
Diffstat: | |
M .gitlab-ci.yml | 7 +++---- | |
1 file changed, 3 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml | |
t@@ -1,18 +1,17 @@ | |
-# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/c… | |
-image: registry.gitlab.com/pages/hugo:latest | |
- | |
variables: | |
GIT_SUBMODULE_STRATEGY: recursive | |
test: | |
+ image: registry.gitlab.com/pages/hugo:latest | |
script: | |
- hugo | |
except: | |
- master | |
deploy: | |
+ image: alpine # https://pkgs.alpinelinux.org/packages?name=&branch=edge | |
before_script: | |
- - apt install lftp | |
+ - apk --no-cache add make hugo lftp | |
script: | |
- make deploy | |
artifacts: |