[Git][NTPsec/ntpsec][master] Move the custom 404 page into the proper location for Gitlab pages
Gary E. Miller
gitlab at mg.gitlab.com
Thu Jul 26 00:55:19 UTC 2018
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
7ae3368a by Matt Selsky at 2018-07-26T00:27:47Z
Move the custom 404 page into the proper location for Gitlab pages
See https://docs.gitlab.com/ee/user/project/pages/introduction.html#custom-error-codes-pages
Fixes Gitlab NTPsec-sysadmin/code#9
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -7,6 +7,8 @@ pages:
- cp www/favicon.ico public
- cp docs/top.html.in public/index.html
- cp docs/top-asciidoc.css public/asciidoc.css
+ - mv public/latest/404.html public/404.html
+ - sed -i -E -e 's!\./(asciidoc\.(js|css))!\./latest/\1!g' public/404.html
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
allow_failure: true
artifacts:
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7ae3368a4675ee00c529259377db5e3c0a227f51
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7ae3368a4675ee00c529259377db5e3c0a227f51
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180726/2fe303f9/attachment.html>
More information about the vc
mailing list