.gitlab-ci.yml 580 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
  - cd themes/academic
  - git checkout v2.4.0
  - cd ../../
Thomas Fragner's avatar
Thomas Fragner committed
11
  - python3.6 -m venv venv
Thomas Fragner's avatar
Thomas Fragner committed
12
13
  - source venv/bin/activate
  - pip install -r .pandoc/requirements.txt
Thomas Fragner's avatar
Thomas Fragner committed
14
  - cp -purv .pandoc ~/
Thomas Fragner's avatar
Thomas Fragner committed
15
  - hugo -b http://k1455954.pages.gitlab.ce.jku.at/website
Thomas Fragner's avatar
Thomas Fragner committed
16
17
18
19
20
21
22
23
24
25
26
  artifacts:
    paths:
    - public
  only:
  - master
  
test:
  script:
  - hugo
  except:
  - master