Skip to content
Snippets Groups Projects
Commit 366f1c68 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

gitlab: Deploy documentation snapshot via GitLab Pages

parent dbe4557f
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ stages:
- cleanup # See Note [Cleanup on Windows]
- packaging # Source distribution, etc.
- hackage # head.hackage testing
- deploy # push documentation
.only-default: &only-default
only:
......@@ -718,3 +719,23 @@ nightly-hackage:
only:
variables:
- $NIGHTLY
pages:
stage: deploy
dependencies:
- doc-tarball
image: ghcci/x86_64-linux-deb9:0.2
tags:
- x86_64-linux
script:
- mkdir -p public/doc
- tar -xf haddock.html.tar.xz -C public/doc
- tar -xf libraries.html.tar.xz -C public/doc
- tar -xf users_guide.html.tar.xz -C public/doc
- cp -f index.html public/doc
only:
- master
artifacts:
paths:
- public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment