commit e3a62fe13b6db70e7b6d5c45041cb2b1c346e48c
parent 59a6572ee17341062db7acc8c2a41579a57e0138
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 20:49:55 +0100
Initialize npm dependencies before deployment
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -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
@@ -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