Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Fragner
website
Commits
ec2e7077
Commit
ec2e7077
authored
Oct 13, 2018
by
Thomas Fragner
Browse files
Update .gitlab-ci.yml
parent
2d5e4513
Pipeline
#81
failed with stages
in 3 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ec2e7077
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment