Commit 3d1a735d authored by René Benner's avatar René Benner

Update .gitlab-ci.yml

parent 9ffe8a2e
Pipeline #1912 failed with stages
in 15 seconds
......@@ -6,13 +6,12 @@ test-pages:
image: registry.gitlab.com/pages/hugo:latest
script:
- rm LICENSE
- mkdir content
- mv * content
- hugo new site handbook
- mv content handbook/content
- mv *.md handbook/content
- cd handbook/
- echo 'theme = "learn"' >> config.toml
- git clone https://github.com/matcornic/hugo-theme-learn.git themes/learn
- hugo
- hugo -D
except:
- master
pages:
......@@ -24,6 +23,7 @@ pages:
- mv *.md handbook/content
- cd handbook/
- echo 'theme = "learn"' >> config.toml
- echo 'baseUrl = "http://pages.olindata.com/employee-handbook"' >> config.toml
- git clone https://github.com/matcornic/hugo-theme-learn.git themes/learn
- hugo -D
artifacts:
......
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