tInitialize npm dependencies before deployment - andersdamsgaard.com - my photo… | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit e3a62fe13b6db70e7b6d5c45041cb2b1c346e48c | |
parent 59a6572ee17341062db7acc8c2a41579a57e0138 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 2 Nov 2018 20:49:55 +0100 | |
Initialize npm dependencies before deployment | |
Diffstat: | |
M .gitlab-ci.yml | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml | |
t@@ -13,7 +13,7 @@ deploy-staging: | |
image: registry.gitlab.com/pages/hugo:latest | |
before_script: | |
- apk --no-cache add make lftp curl npm | |
- - npm install both postcss-cli | |
+ - npm init . | |
- hugo version | |
script: | |
- make deploy-staging | |
t@@ -32,7 +32,7 @@ deploy: | |
image: registry.gitlab.com/pages/hugo:latest | |
before_script: | |
- apk --no-cache add make lftp curl npm | |
- - npm install both postcss-cli | |
+ - npm init . | |
- hugo version | |
script: | |
- make deploy |