diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-06 14:09:53 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-06-06 14:11:10 -0400 |
commit | 7e67a746b2b27ad688745d5f651fdf7e0bdad89b (patch) | |
tree | fb038544de26983f94abf4448fef1124f3745bce | |
parent | ba4e3934abc82e0ba2bec51842315819910d1018 (diff) | |
download | haskell-7e67a746b2b27ad688745d5f651fdf7e0bdad89b.tar.gz |
gitlab-ci: Create index.html in documentation deploymentwip/doc-index
Otherwise navigating to https://ghc.gitlab.haskell.org/ghc will result
in a 404.
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b6226ffa6..00649c273a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -863,6 +863,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 |