2016-08-20 2 views

답변

1

그냥 추가 - apt-get을 그리고 OFC & &가 -y를 설치 apt-get을 업데이트 nodejs - 번들 것은 gitlab-cl.yaml 내부

를 설치

image: ruby:2.3 

test: 
    stage: test 
    script: 
    - gem install jekyll 
    - bundle install 
    - apt-get update && apt-get install -y nodejs 
    - bundle exec jekyll -d test/ 
    artifacts: 
    paths: 
    - test 
    except: 
    - master 

pages: 
    stage: deploy 
    script: 
    - gem install jekyll 
    - bundle install 
    - apt-get update && apt-get install -y nodejs 
    - bundle exec jekyll -d public/ 
    artifacts: 
    paths: 
    - public 
    only: 
    - master