This is an automated email from the ASF dual-hosted git repository.

mmolinaro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 4cd69f2  Testing publishing coming soon (#8)
4cd69f2 is described below

commit 4cd69f272ec582ca8d0d9e1440f698e172ac770b
Author: MatMol96 <[email protected]>
AuthorDate: Wed Jul 24 14:38:56 2024 +0200

    Testing publishing coming soon (#8)
    
    * testing publishing coming soon
    
    * maintaining old index
---
 .github/workflows/build.yml             |  40 +++++++++++++++++
 content/en/_index.md                    |  73 +-------------------------------
 content/en/{_index.md => _index_old.md} |   0
 {pub/img => content/en}/devenv.png      | Bin
 pub/index.html                          |  32 --------------
 5 files changed, 42 insertions(+), 103 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..7a5b52e
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,40 @@
+name: test
+
+on:
+  push:
+    branches:
+      - main
+
+#permissions:
+#  contents: write
+
+jobs:
+  tests:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout repository
+      uses: actions/checkout@v4
+    - name: Install Nix
+      uses: cachix/install-nix-action@v25
+      with:
+        nix_path: nixpkgs=channel:nixos-unstable
+    - uses: DeterminateSystems/magic-nix-cache-action@v2
+    - run: nix-build
+    - run: nix-shell --run "echo OK"
+    - run: nix-channel --add https://nixos.org/channels/nixos-23.11 nixpkgs
+    - run: nix-channel --update
+    - name: Install Hugo
+      run: |
+        nix-env -iA nixpkgs.hugo
+
+    - name: Install Asciidoctor
+      run: |
+        nix-env -iA nixpkgs.asciidoctor
+
+    - name: Build Hugo site
+      run: |
+        hugo
+  
+    #- name: Deploy to ASF
+    #  run: |
+    #    cp -r public/* $GITHUB_WORKSPACE/public/
\ No newline at end of file
diff --git a/content/en/_index.md b/content/en/_index.md
index 925dca4..1e46468 100644
--- a/content/en/_index.md
+++ b/content/en/_index.md
@@ -2,75 +2,6 @@
 title: Apache OpenServerless
 ---
 
-{{< blocks/cover title="Welcome to Apache OpenServerless!" image_anchor="top" 
height="full" >}}
+# COMING SOON 
 
-<a class="btn btn-lg btn-primary me-3 mb-4" href="/docs/">
-  Learn More <i class="fas fa-arrow-alt-circle-right ms-2"></i>
-</a>
-<!-- 
-<a class="btn btn-lg btn-secondary me-3 mb-4" 
href="https://github.com/google/docsy-example";>
-  Download <i class="fab fa-github ms-2 "></i>
-</a>
--->
-
-<h1 class="lead mt-5">Upgrading Kubernetes to a Serverless powerhouse to build 
your cloud-native A.I. application!</h1> 
-{{< blocks/link-down color="info" >}}
-{{< /blocks/cover >}}
-
-{{% blocks/lead color="primary" %}}
-
-<h3>Apache OpenServerless is a <b>distribution</b>, running in any 
<b>Kubernetes</b> Clusters or even plain Linux <b>Virtual Machine</b>, 
straightforward to install and easy to use, deploying a <b>Serverless</b> 
Enviroment ready to use to build <b>A.I. applications</b>. </h3>
-
-<h4>Apache OpenServerless lets you <b>stop worrying</b> of building, 
deploying, configuring and orchestrating containers. You can <b>focus on 
writing your A.I. code</b> and run it anywere, production ready, <b>without any 
vendor-lockin</b>.</h4>
-{{% /blocks/lead %}}
-
-
-{{% blocks/section color="dark" type="row" %}}
-
-{{% blocks/feature icon="fab fa-reddit" title="Join our subreddit!" 
url="https://reddit.com/r/openserverless"; %}}
-A friendly place to discuss Apache OpenServerless
-{{% /blocks/feature %}}
-
-
-{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" 
url="https://github.com/apache/openserverless"; %}}
-We accept  [Pull Request](https://github.com/google/docsy-example/pulls)  on 
**GitHub**. New contributors are always welcome!
-{{% /blocks/feature %}}
-
-{{% blocks/feature icon="fab fa-x-twitter" title="Follow us on X.com!" 
url="https://twitter.com/open_serverless"; %}}
-For announcement of latest features etc.
-{{% /blocks/feature %}}
-
-{{% /blocks/section %}}
-
-
-{{% blocks/section %}}
-<span style="color: black">Get involved! Subscribe our mailing 
list</span><br><a 
href="mailto:[email protected]";>[email protected]</a>
-{.h2 .text-center .text-black}
-{{% /blocks/section %}}
-
-
-{{% blocks/section  %}}
-{{% imgproccenter openserverless-diagram Fit "800x600"  %}}
-Apache OpenServerless Architecture Overview
-{{% /imgproccenter %}}
-{{% /blocks/section %}}
-
-
-{{% blocks/section type="row" %}}
-
-<div class="col-md-6 text-center">
-<h2>Public Cloud</h2>
-{{% imgproccenter public-cloud Fit "242x76" %}}
-We support the major public cloud Kubernetes,<br>including <a 
href="https://aws.amazon.com/eks/";>Amazon EKS</a>, <a 
href="https://azure.microsoft.com/en-us/products/kubernetes-service";>Azure 
AKS</a> and <a href="https://cloud.google.com/kubernetes-engine";>Gcloud GKE</a>
-{{% /imgproccenter %}}
-</div>
-
-<div class="col-md-6 text-center">
-<h2>Private Cloud</h2>
-{{% imgproccenter private-cloud Fit "217x95" %}}
-We support the major private cloud Kubernetes,<br>including <a 
href="https://www.redhat.com/en/technologies/cloud-computing/openshift";>RedHat 
OpenShift</a>, <a href="https://microk8s.io/";>Ubuntu MicroK8S</a> and <a 
href="https://k3s.io/";>SuSE K3S</a>
-{{% /imgproccenter %}}
-</div>
-
-
-{{% /blocks/section %}}
\ No newline at end of file
+![background](devenv.png)
diff --git a/content/en/_index.md b/content/en/_index_old.md
similarity index 100%
copy from content/en/_index.md
copy to content/en/_index_old.md
diff --git a/pub/img/devenv.png b/content/en/devenv.png
similarity index 100%
rename from pub/img/devenv.png
rename to content/en/devenv.png
diff --git a/pub/index.html b/pub/index.html
deleted file mode 100644
index 921201d..0000000
--- a/pub/index.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Coming Soon</title>
-    <style>
-        body {
-            display: flex;
-            flex-direction: column;
-            justify-content: center;
-            align-items: center;
-            height: 100vh;
-            margin: 0;
-            font-family: Arial, sans-serif;
-            background-color: #f0f0f0;
-        }
-        h1 {
-            font-size: 3em;
-            margin-bottom: 20px;
-        }
-        img {
-            max-width: 100%;
-            height: auto;
-        }
-    </style>
-</head>
-<body>
-    <h1>COMING SOON</h1>
-    <img src="img/devenv.png" alt="Devenv Logo">
-</body>
-</html>
\ No newline at end of file

Reply via email to