tUse makefile for deployment in CI - 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 5c234d5e8822753e565b2fd94d279d1cb0ee3f20
(DIR) parent b2bbd397c0425bba0a4093c8d1a7fcd95f037e2a
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 12:52:26 +0100
Use makefile for deployment in CI
Diffstat:
M .gitlab-ci.yml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -10,11 +10,13 @@ test:
except:
- master
-pages:
+deploy:
+ before_script:
+ - apt install lftp
script:
- - hugo
+ - make deploy
artifacts:
paths:
- - public
+ - public
only:
- master