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 - - - -