From 6edb674bf2de3b95d0f0134d9bbe6d1df4d6e3c7 Mon Sep 17 00:00:00 2001 From: MatMol96 <85247791+MatMol96@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:31:21 +0200 Subject: [PATCH] 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(-) delete mode 100644 content/en/_index_old.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5568a14e..dbb091c4 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 1e46468f..7896c980 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 925dca4f..00000000 --- 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" >}} - - - Learn More - - - -

Upgrading Kubernetes to a Serverless powerhouse to build your cloud-native A.I. application!

-{{< blocks/link-down color="info" >}} -{{< /blocks/cover >}} - -{{% blocks/lead color="primary" %}} - -

Apache OpenServerless is a distribution, running in any Kubernetes Clusters or even plain Linux Virtual Machine, straightforward to install and easy to use, deploying a Serverless Enviroment ready to use to build A.I. applications.

- -

Apache OpenServerless lets you stop worrying of building, deploying, configuring and orchestrating containers. You can focus on writing your A.I. code and run it anywere, production ready, without any vendor-lockin.

-{{% /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 %}} -Get involved! Subscribe our mailing list
dev-subscribe@openserverless.apache.org -{.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" %}} - -
-

Public Cloud

-{{% imgproccenter public-cloud Fit "242x76" %}} -We support the major public cloud Kubernetes,
including Amazon EKS, Azure AKS and Gcloud GKE -{{% /imgproccenter %}} -
- -
-

Private Cloud

-{{% imgproccenter private-cloud Fit "217x95" %}} -We support the major private cloud Kubernetes,
including RedHat OpenShift, Ubuntu MicroK8S and SuSE K3S -{{% /imgproccenter %}} -
- - -{{% /blocks/section %}} \ No newline at end of file