From 4a8874a84ef54edd473c74237d5ac600131cab2f Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 20 Sep 2020 23:49:13 +0800 Subject: [PATCH] ci: remove unneeded command, use nproc, use alpine --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d977ace..abd1e50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: ruby:latest +image: ruby:alpine variables: JEKYLL_ENV: production @@ -8,10 +8,10 @@ variables: pages: stage: deploy before_script: + - apk add git make gcc musl-dev g++ - mkdir -p .bundler - - bundle install -j 24 --path .bundler + - bundle install -j $(nproc) --path .bundler script: - - bundle exec rougify style base16.dark >> assets/css/main.scss - bundle exec jekyll build -d public artifacts: paths: -- 2.43.0