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 6edb674  adjusting and cleaning build pipeline for website (#13)
6edb674 is described below

commit 6edb674bf2de3b95d0f0134d9bbe6d1df4d6e3c7
Author: MatMol96 <[email protected]>
AuthorDate: Thu Jul 25 15:31:21 2024 +0200

    adjusting and cleaning build pipeline for website (#13)
    
    * adjusting build pipeline hugo
    
    * adjusting hugo pipeline
    
    * adjusting checkout version
    
    * deleting index_old
    
    * adjusting blocks/cover
    
    * adjusting blocks cover
    
    * adjusting blocks cover 2
    
    * adjusting blocks cover 3
    
    * trying adjusting pipeline
    
    * trying to adjust pipeline
    
    * trying to adjust pipeline 2
    
    * adjusting blocks cover template
    
    * adjusting pipeline again
    
    * adjusting pipeline again 2
    
    * adjusting pipeline again 3
    
    * adjusting pipeline again 4
    
    * testing hugo changes
    
    * cleaning build pipeline
---
 .github/workflows/build.yml | 12 +++----
 content/en/_index.md        |  2 ++
 content/en/_index_old.md    | 76 ---------------------------------------------
 3 files changed, 7 insertions(+), 83 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5568a14..dbb091c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,18 +23,16 @@ jobs:
       with:
         ref: asf-site
         path: ${{ env.PUBLISH_DIRECTORY }}
-    - name: Install Hugo
+    - name: Install Asciidoctor
       run: |
         sudo apt-get update
-        sudo apt-get install -y hugo asciidoctor
+        sudo apt-get install -y asciidoctor
     - name: Prepare
       working-directory: ${{ env.PUBLISH_DIRECTORY }}
       run: |
         rm -rf stylesheets
     - name: Build Hugo site
       run: |
-        hugo
-  
-    #- name: Deploy to ASF
-    #  run: |
-    #    cp -r public/* $GITHUB_WORKSPACE/public/
\ No newline at end of file
+        npm install
+        npm run clean
+        npm run build:production
\ No newline at end of file
diff --git a/content/en/_index.md b/content/en/_index.md
index 1e46468..7896c98 100644
--- a/content/en/_index.md
+++ b/content/en/_index.md
@@ -2,6 +2,8 @@
 title: Apache OpenServerless
 ---
 
+{{< blocks/cover image_anchor="top" height="full" background="devenv.png" >}}
 # COMING SOON 
+{{< /blocks/cover >}}
 
 ![background](devenv.png)
diff --git a/content/en/_index_old.md b/content/en/_index_old.md
deleted file mode 100644
index 925dca4..0000000
--- a/content/en/_index_old.md
+++ /dev/null
@@ -1,76 +0,0 @@
----
-title: Apache OpenServerless
----
-
-{{< blocks/cover title="Welcome to Apache OpenServerless!" image_anchor="top" 
height="full" >}}
-
-<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

Reply via email to