.gitlab-ci.yml 503 Bytes
Newer Older
Thomas Fragner's avatar
Thomas Fragner committed
1
2
3
4
5
6
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/hugo
image: meroff/hugo-with-pandoc

pages:
  script:
Thomas Fragner's avatar
Thomas Fragner committed
7
  - git submodule update --init --remote --recursive
Thomas Fragner's avatar
Thomas Fragner committed
8
9
10
11
12
13
  - cd themes/academic
  - git checkout v2.4.0
  - cd ../../
  - python -m venv venv
  - source venv/bin/activate
  - pip install -r .pandoc/requirements.txt
Thomas Fragner's avatar
Thomas Fragner committed
14
15
16
17
18
19
20
21
22
23
24
25
  - hugo
  artifacts:
    paths:
    - public
  only:
  - master
  
test:
  script:
  - hugo
  except:
  - master