.gitlab-ci.yml 435 Bytes
stages:
  - build
  - deploy

build:
  stage: build
  image: docker.io/jekyll/builder
  script:
  - apk add --no-cache --virtual .build-deps build-base ruby-dev
  - apk add --no-cache python
  - gem install redcarpet pygments.rb
  - jekyll build -d public/
  artifacts:
    paths:
    - public

pages:
  only:
    - master
  stage: deploy
  image: docker.io/alpine
  script:
    - ls -lR public
  artifacts:
    paths:
      - public