This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
commit cb111d3eb8650619a581a47c70c881ba099432b4 Author: HTHou <[email protected]> AuthorDate: Tue Jul 11 19:24:29 2023 +0800 add call back --- .github/workflows/site-build.yaml | 2 +- deploy.cjs | 5 +++++ deploy_staging.cjs | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml index 159f5c9..bf2249c 100644 --- a/.github/workflows/site-build.yaml +++ b/.github/workflows/site-build.yaml @@ -53,4 +53,4 @@ jobs: git config --global url."https://asf-ci-deploy:[email protected]/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 - NODE_DEBUG=gh-pages npm run deploy:staging + npm run deploy:staging diff --git a/deploy.cjs b/deploy.cjs index 46217fc..a89f5a5 100644 --- a/deploy.cjs +++ b/deploy.cjs @@ -23,4 +23,9 @@ ghpages.publish('src/.vuepress/dist', { branch: 'asf-site', repo: 'https://github.com/apache/iotdb-website.git', dotfiles: true, +}, (err) => { + if (err instanceof Error) { + console.error(err); + throw err; + } }); diff --git a/deploy_staging.cjs b/deploy_staging.cjs index f58f585..96afffd 100644 --- a/deploy_staging.cjs +++ b/deploy_staging.cjs @@ -23,4 +23,9 @@ ghpages.publish('src/.vuepress/dist', { branch: 'asf-staging', repo: 'https://github.com/apache/iotdb-website.git', dotfiles: true, +}, (err) => { + if (err instanceof Error) { + console.error(err); + throw err; + } });
