tInitialize npm dependencies before 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 e3a62fe13b6db70e7b6d5c45041cb2b1c346e48c
(DIR) parent 59a6572ee17341062db7acc8c2a41579a57e0138
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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