~xdavidwu/xdavidwu.link

ref: 2431b2fb77892331fe32726c291641062329df40 xdavidwu.link/.gitlab-ci.yml -rw-r--r-- 503 bytes
2431b2fbxdavidwu posts: gio-launch-set-terminal: minor fix 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
image: ruby:alpine

variables:
  JEKYLL_ENV: production
  LC_ALL: "C.UTF-8"
  GIT_SUBMODULE_STRATEGY: recursive

pages:
  stage: deploy
  before_script:
  - apk add git make gcc musl-dev g++
  - mkdir -p .bundler
  - bundle install -j $(nproc) --path .bundler
  script:
  - bundle exec rougify style base16.solarized.dark | sed 's/002b36/202124/g' >> assets/css/main.scss
  - bundle exec jekyll build -d public
  artifacts:
    paths:
    - public
  cache:
    paths:
    - .bundler
  only:
  - master