Commit ec2e7077 authored by Thomas Fragner's avatar Thomas Fragner
Browse files

Update .gitlab-ci.yml

parent 2d5e4513
Pipeline #81 failed with stages
in 3 minutes and 16 seconds
......@@ -2,7 +2,7 @@
# Full project: https://gitlab.com/pages/hugo
image: meroff/hugo-with-pandoc
pages:
build-pdf:
script:
- git checkout .
- git submodule foreach git checkout .
......@@ -15,15 +15,39 @@ pages:
- pip install -r .pandoc/requirements.txt
- cp -purv .pandoc ~/
- ./bin/compile-pdf.sh --hugo true
- git status
- git submodule foreach git status
#- ./bin/compile-html.sh --hugo
artifacts:
paths:
- public
only:
- master
build-hugo:
script:
- git checkout .
- git submodule foreach git checkout .
- git submodule update --init --remote --recursive
- cd themes/academic
- git checkout v2.4.0
- cd ../../
- python3.6 -m venv venv
- source venv/bin/activate
- pip install -r .pandoc/requirements.txt
- cp -purv .pandoc ~/
- hugo
artifacts:
paths:
- public
only:
- master
pages:
script:
- echo "Copy To Pages"
artifacts:
paths:
- public
only:
- master
test:
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment