You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/03/16 11:34:18 UTC

[incubator-inlong-website] branch master updated: [INLONG-3712] add pull_request CI for website (#311)

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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c60aafa  [INLONG-3712] add pull_request CI for website (#311)
c60aafa is described below

commit c60aafadb353fc9967a7d75dfa21233993cf9027
Author: dockerzhang <do...@tencent.com>
AuthorDate: Wed Mar 16 19:34:11 2022 +0800

    [INLONG-3712] add pull_request CI for website (#311)
---
 .github/workflows/ci_build.yml | 39 +++++++++++++++++++++++++++++++++++++++
 .github/workflows/deploy.yml   |  2 +-
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
new file mode 100644
index 0000000..ac2aee4
--- /dev/null
+++ b/.github/workflows/ci_build.yml
@@ -0,0 +1,39 @@
+#
+# 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 Build
+
+on:
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  build:
+    name: CI Build
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@master
+
+      - name: Use Node.js
+        uses: actions/setup-node@v1
+        with:
+          node-version: 14.19.0
+      - name: Build
+        run: |
+          npm install && npm run build
\ No newline at end of file
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b292250..3dc0dd3 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
-name: Build and Deploy
+name: WebSite Build and Deploy
 
 on:
   push: