This is an automated email from the ASF dual-hosted git repository. jark pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fluss-website.git
commit 0bf83d2a308724361f6289c945a500c00a46aab9 Author: Jark Wu <[email protected]> AuthorDate: Fri Jul 11 20:35:18 2025 +0800 Initial commit --- .asf.yaml | 18 +++++++++--- .github/workflows/website-deploy.yaml | 52 +++++++++++++++++++++++++++++++++++ README.md | 10 +++++++ 3 files changed, 76 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index c134c08..b1d500c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,19 +15,29 @@ # specific language governing permissions and limitations # under the License. +# See: https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features + github: description: "Apache Fluss Website" homepage: https://fluss.apache.org/ features: - issues: false + issues: true projects: false + discussions: false wiki: false labels: - fluss + - streaming + - real-time-analytics + - lakehouse enabled_merge_buttons: squash: true merge: false - rebase: false + rebase: true -publish: - whoami: asf-site \ No newline at end of file +notifications: + commits: [email protected] + issues: [email protected] + pullrequests: [email protected] + jobs: [email protected] + discussions: [email protected] \ No newline at end of file diff --git a/.github/workflows/website-deploy.yaml b/.github/workflows/website-deploy.yaml new file mode 100644 index 0000000..55d0278 --- /dev/null +++ b/.github/workflows/website-deploy.yaml @@ -0,0 +1,52 @@ +################################################################################ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +################################################################################ +name: Website Deploy +on: + repository_dispatch: + types: [website-deploy] + +jobs: + deploy: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./website + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + repository: apache/fluss + ref: main + fetch-depth: 0 + - name: Generate versioned docs + run: ./build_versioned_docs.sh + - uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Install dependencies + run: npm install + - name: Build website + run: npm run build + - name: Copy ASF Files + run: | + cp .asf.yaml .htaccess ./build/ + - name: Deploy website + run: | + git config --global user.email "[email protected]" + git config --global user.name "gh-actions" + npm run deploy -- --skip-build \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..bee4ade --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Apache Fluss Website + +This repository hosts the content for the **Apache Fluss website** at [https://fluss.apache.org](https://fluss.apache.org). The static HTML content for the site is published in the `asf-site` branch. + +The website source code is maintained in the [`website/`](https://github.com/apache/fluss/tree/main/website) directory of the [apache/fluss](https://github.com/apache/fluss) repository. Different versions of the documentation are maintained in separate branches of the `apache/fluss` repository. For example: the `release-0.7` branch contains the documentation for version v0.7. + +The `main` branch of this repository (`apache/fluss-website`) contains a GitHub Actions workflow that **automatically builds and deploys** the website and documentation whenever changes are made to the `main` or `release-*` branches of the `apache/fluss` repository under its `website/` directory. + +For more information on contributing documentation, see: +[How to Contribute Documentation](https://fluss.apache.org/community/how-to-contribute/contribute-docs/)
