This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch action
in repository https://gitbox.apache.org/repos/asf/iotdb-website.git

commit 0863c2017a4e8b95a98c7bf1fa58e62694230c43
Author: Haonan <[email protected]>
AuthorDate: Fri Sep 30 14:16:48 2022 +0800

    Create main.yml
---
 .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000000..226005f289
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,34 @@
+# This is a basic workflow to help you get started with Actions
+
+name: Website Build
+
+# Controls when the workflow will run
+on:
+
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
+
+# A workflow run is made up of one or more jobs that can run sequentially or 
in parallel
+jobs:
+  # This workflow contains a single job called "build"
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # Steps represent a sequence of tasks that will be executed as part of the 
job
+    steps:
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
+      - uses: actions/checkout@v3
+      - name: Set up JDK 17
+        uses: actions/setup-java@v1
+        with:
+          java-version: 17
+      - name: Clone IoTDB code
+        run: git clone https://github.com/apache/iotdb.git
+      - name: Build website
+        run: cd iotdb && mvn -P site -P compile-site -P compile-site-0.13 -P 
compile-site-0.12 -P compile-site-0.11 -P compile-site-0.10 -P compile-site-0.9 
-P compile-site-0.8 compile scm-publish:publish-scm -pl site
+        
+          

Reply via email to