aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 342112c522d0e8d3125c52c44acb8aa2c514e20f (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
image: silex/emacs:26.3-alpine-dev

stages:
  - build
  - deploy

build-html:
  stage: build
  before_script:
    - cask install
  script:
    make html
  artifacts:
    paths:
      - public_html/

build-css:
  stage: build
  image: finalgene/lessc:3.10
  script:
    lessc src/less/main.less public_html/assets/css/main.css
  artifacts:
    paths:
      - public_html/

pages:
  stage: deploy
  dependencies:
    - build-html
    - build-css
  script:
    - echo "Deploying to pages"
  artifacts:
    paths:
      - public_html/
  only:
    - master