You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/07/25 07:58:06 UTC
[iotdb-docs] 01/01: Update site-build.yaml to switch to formal website
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
commit 37dd0cb98b07a3c46b32c64eb0e782573c16eec2
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Jul 25 15:58:00 2023 +0800
Update site-build.yaml to switch to formal website
---
.github/workflows/site-build.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml
index aa971ad..a25d047 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -27,7 +27,7 @@ jobs:
node-version: 18.x
- name: Install dependencies
run: npm ci
- - name: Test compile website
+ - name: Test build website
run: npm run build
deploy:
@@ -42,13 +42,13 @@ jobs:
node-version: 18.x
- name: Install dependencies
run: npm ci
- - name: Test compile website
+ - name: Build website
run: npm run build
- - name: Deploy staging
+ - name: Deploy website
env:
IOTDB_WEBSITE_BUILD: ${{ secrets.IOTDB_WEBSITE_BUILD }}
run: |
git config --global url."https://asf-ci-deploy:$IOTDB_WEBSITE_BUILD@github.com/apache/".insteadOf "https://github.com/apache/"
git config --global user.name github-actions
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
- npm run deploy:staging
+ npm run deploy