commit 0d53a3733d269dba14030091e8ddc3660a56e928
parent 58109c2fa6a3946e32e013422e1a3e468af47f7c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 20:54:22 +0100
Install postcss-cli globally, remove npm init
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -13,8 +13,7 @@ deploy-staging:
image: registry.gitlab.com/pages/hugo:latest
before_script:
- apk --no-cache add make lftp curl npm
- - npm init .
- - npm install postcss-cli
+ - npm install -g postcss-cli
- hugo version
script:
- make deploy-staging
@@ -33,8 +32,7 @@ deploy:
image: registry.gitlab.com/pages/hugo:latest
before_script:
- apk --no-cache add make lftp curl npm
- - npm init .
- - npm install postcss-cli
+ - npm install -g postcss-cli
- hugo version
script:
- make deploy