glauesppen commented on code in PR #25: URL: https://github.com/apache/incubator-wayang-website/pull/25#discussion_r1467535844
########## .asf.yaml: ########## @@ -1,48 +1,43 @@ -# -# 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 +# 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. -# -notifications: - commits: [email protected] - issues: [email protected] - pullrequests: [email protected] - jira_options: link label worklog comment - -jekyll: - whoami: main - target: asf-site - -publish: - whoami: asf-site -# subdir: /test +# 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. github: - description: "Apache Wayang is a federated learning processing system" - homepage: https://wayang.apache.org + description: "Apache Wayang Website" + homepage: https://wayang.apache.org/ features: - # Disable wiki for documentation - wiki: false - # Disable issue management - issues: true - # Disable projects for project management boards + issues: false projects: false + wiki: false + labels: + - wayang enabled_merge_buttons: - # enable squash button: squash: true - # enable merge button: - merge: true - # disable rebase button: + merge: false rebase: false + protected_branches: + main: {} + deploy: {} + +publish: + whoami: deploy Review Comment: Are we going to use this branch to put the site into production? ########## .github/workflows/deploy.yml: ########## @@ -0,0 +1,25 @@ +name: Deploy + +on: + push: + branches: + - main + pull_request: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18.x + - run: npm install + - run: npm run build + - run: cp .asf.yaml build/.asf.yaml + - uses: peaceiris/actions-gh-pages@v3 + if: github.event_name != 'pull_request' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build + publish_branch: deploy Review Comment: Same thing here about the branching. Shouldn't we keep the asf-site as the production branch? ########## README.md: ########## @@ -1,2 +1,29 @@ -# Wayang Website -Apache Wayang is the API for big data and data processing across multiple data processing frameworks. Wayang enables data engineers, data scientists and data operations to use multiple platforms at the same time. The repo contains the website for [Apache Wayang (incubating)](https://wayang.apache.org) +# Apache Fury (incubating) Website Review Comment: It's referencing the Fury website ########## blog/2024-01-25-website_update.md: ########## @@ -0,0 +1,33 @@ +--- +slug: website_update +title: Website updated +authors: [alo.alt] +tags: [wayang] +--- + +We're updated our website and use now Docusaurus. + +<!--truncate--> +# Website updated + +Author: [2pk03](https://github.com/2pk03) + +We switched to a new CMS. That's all. + +## Cheatsheet Review Comment: This is an example of the Docusaurus. I think it should be deleted -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
