[tracker-miners/sam/website: 9/9] Add website redirect stub
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/website: 9/9] Add website redirect stub
- Date: Sat, 4 Apr 2020 20:40:13 +0000 (UTC)
commit 33e7dc9d998f9e63c4d8419d294345d9d35caa48
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Apr 4 22:39:21 2020 +0200
Add website redirect stub
This removes the temporary website that I uploaded to the tracker-miners
GitLab Pages and replaces it with a redirect to the /tracker project,
where the website really lives.
.gitlab-ci.yml | 14 ++++++++++++++
docs/website/README.md | 6 ++++++
docs/website/index.html | 14 ++++++++++++++
3 files changed, 34 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da3352fc5..9888e94da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ variables:
stages:
- test
- analysis
+ - website
.test_template: &test
stage: test
@@ -82,3 +83,16 @@ coverity:
--form description="gitlab CI build"'
only:
- master
+
+pages:
+ stage: website
+ image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest
+ dependencies: []
+ script:
+ - cp -a docs/website ./public
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
+ - sam/website
diff --git a/docs/website/README.md b/docs/website/README.md
new file mode 100644
index 000000000..07c423414
--- /dev/null
+++ b/docs/website/README.md
@@ -0,0 +1,6 @@
+The website is built from tracker.git.
+
+This repo contains a redirect from /tracker-miners to /tracker on
+gnome.pages.gitlab.gnome.org. It exists because I temporarily put
+the website at the /tracker-miners prefix, so there's a chance there
+may be links pointing there.
diff --git a/docs/website/index.html b/docs/website/index.html
new file mode 100644
index 000000000..368ede338
--- /dev/null
+++ b/docs/website/index.html
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <script type = "text/javascript">
+ function redirect() {
+ window.location = "/tracker";
+ }
+ document.write("You are being redirected to the /tracker project.");
+ setTimeout('redirect()', 100);
+ </script>
+ </head>
+ <body>
+ The Tracker website is <a href="https://gnome.pages.gitlab.gnome.org/tracker/">here</a>.
+ </body>
+</html>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]