diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-06 14:09:53 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-07 10:29:23 -0400 |
commit | 1afb499583f741a95cceb3207c5455c8ec6f5b87 (patch) | |
tree | f30d0d8b904bf53a365c50132230b0e730ef0d71 /.gitlab-ci.yml | |
parent | 3d97bad67ea64b7ee690c0a8836579bceef47cb5 (diff) | |
download | haskell-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.yml | 6 |
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 |