You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/07/29 11:46:40 UTC

[echarts-website] branch asf-site updated (bafb268 -> 99e3e8b)

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

shenyi pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git.


    from bafb268  update theme builder
     new 211bd68  add deploy action
     new 731ffcc  install dep in deploy workflow
     new 99e3e8b  fix syntax error in package json

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/deploy.yml | 73 ++++++++++++++++++++++++++++++++++++++++++++
 package.json                 | 16 ++++++++++
 2 files changed, 89 insertions(+)
 create mode 100644 .github/workflows/deploy.yml
 create mode 100644 package.json

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[echarts-website] 01/03: add deploy action

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git

commit 211bd680bef1d2943ff951ca2ec0a8fc0b34e2ed
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Jul 29 18:19:31 2021 +0800

    add deploy action
---
 .github/workflows/deploy.yml | 68 ++++++++++++++++++++++++++++++++++++++++++++
 package.json                 | 16 +++++++++++
 2 files changed, 84 insertions(+)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..1da53ab
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,68 @@
+name: Build and Deploy
+
+on:
+  workflow_dispatch: {}
+
+jobs:
+  build-and-deploy:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout 🛎️
+        uses: actions/checkout@v2
+
+      - name: Prepare workspace
+        run: mkdir tmp-workspace
+
+      - name: Install ECharts WWW
+        working-directory: tmp-workspace
+        run: |
+          git clone --depth 1 https://github.com/apache/echarts-www
+          cd echarts-www
+          npm install
+
+      - name: Install ECharts Doc
+        working-directory: tmp-workspace
+        run: |
+          git clone --depth 1 https://github.com/apache/echarts-doc
+          cd echarts-doc
+          npm install
+
+      - name: Install ECharts Example
+        working-directory: tmp-workspace
+        run: |
+          git clone --depth 1 https://github.com/apache/echarts-examples
+          cd echarts-examples
+          npm install
+
+      - name: Install ECharts Theme Builder
+        working-directory: tmp-workspace
+        run: |
+          git clone --depth 1 https://github.com/apache/echarts-theme-builder
+          cd echarts-theme-builder
+          npm install
+
+      - name: Install ECharts Handbook
+        working-directory: tmp-workspace
+        run: |
+          git clone --depth 1 https://github.com/apache/echarts-handbook
+          cd echarts-handbook
+          npm install
+
+      - name: Build 🔧
+        working-directory: tmp-workspace
+        run: |
+          mkdir echarts-website
+          cd echarts-www
+          npm run release
+
+      - name: Deploy 🚀
+        uses: ./node_modules/@jamesives/github-pages-deploy-action
+        with:
+          branch: asf-site
+          folder: tmp-workspace/echarts-website
+          single-commit: false
+          clean: true
+          clean-exclude: |
+            .*
+            v4/**/*
+            README.md
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..4cb37ee
--- /dev/null
+++ b/package.json
@@ -0,0 +1,16 @@
+{
+  "name": "echarts-website",
+  "version": "1.0.0",
+  "description": "",
+  "scripts": {
+  },
+  "devDependencies": {
+    "@jamesives/github-pages-deploy-action": "^4.1.3",
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/apache/echarts-website.git"
+  },
+  "author": "",
+  "license": "ISC"
+}

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[echarts-website] 03/03: fix syntax error in package json

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git

commit 99e3e8b7d0f2ff7218cec79896413e83833a10e9
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Jul 29 18:28:35 2021 +0800

    fix syntax error in package json
---
 .github/workflows/deploy.yml | 1 +
 package.json                 | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 5c6d004..e3585d2 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -70,3 +70,4 @@ jobs:
             .*
             v4/**/*
             README.md
+            package.json
diff --git a/package.json b/package.json
index 4cb37ee..570e82b 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "scripts": {
   },
   "devDependencies": {
-    "@jamesives/github-pages-deploy-action": "^4.1.3",
+    "@jamesives/github-pages-deploy-action": "^4.1.3"
   },
   "repository": {
     "type": "git",

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[echarts-website] 02/03: install dep in deploy workflow

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git

commit 731ffcccdfca52f838711c1608d56363c5e5c776
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Jul 29 18:21:56 2021 +0800

    install dep in deploy workflow
---
 .github/workflows/deploy.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 1da53ab..5c6d004 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -48,6 +48,7 @@ jobs:
           cd echarts-handbook
           npm install
 
+
       - name: Build 🔧
         working-directory: tmp-workspace
         run: |
@@ -55,6 +56,9 @@ jobs:
           cd echarts-www
           npm run release
 
+      - name: Install Dep
+        run: npm install
+
       - name: Deploy 🚀
         uses: ./node_modules/@jamesives/github-pages-deploy-action
         with:

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org