tInstall postcss-cli globally, remove npm init - 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 0d53a3733d269dba14030091e8ddc3660a56e928
(DIR) parent 58109c2fa6a3946e32e013422e1a3e468af47f7c
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 20:54:22 +0100
Install postcss-cli globally, remove npm init
Diffstat:
M .gitlab-ci.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -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
t@@ -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