summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-06 14:09:53 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-07 10:29:23 -0400
commit1afb499583f741a95cceb3207c5455c8ec6f5b87 (patch)
treef30d0d8b904bf53a365c50132230b0e730ef0d71 /.gitlab-ci.yml
parent3d97bad67ea64b7ee690c0a8836579bceef47cb5 (diff)
downloadhaskell-1afb499583f741a95cceb3207c5455c8ec6f5b87.tar.gz
gitlab-ci: Create index.html in documentation deployment
Otherwise navigating to https://ghc.gitlab.haskell.org/ghc will result in a 404.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b3cea199d6..e42aa7dbae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -864,6 +864,12 @@ pages:
- 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
+ - |
+ cat >public/index.html <<EOF
+ <!DOCTYPE HTML>
+ <meta charset="UTF-8">
+ <meta http-equiv="refresh" content="1; url=doc/">
+ EOF
- cp -f index.html public/doc
only:
- master