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 2022/11/24 12:20:47 UTC
[iotdb] 02/03: add secrets
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch deploy_site_using_github
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 57b03e2d51bf7ab608e7336d2016b686d5fcff63
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Nov 24 15:46:00 2022 +0800
add secrets
---
.github/workflows/site-build.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/site-build.yml b/.github/workflows/site-build.yml
index 01ad612048..7017f10318 100644
--- a/.github/workflows/site-build.yml
+++ b/.github/workflows/site-build.yml
@@ -52,7 +52,10 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Compile and deploy website
+ env:
+ IOTDB_WEBSITE_BUILD: ${{ secrets.IOTDB_WEBSITE_BUILD }}
run: |
+ git config --global url."https://asf-ci-deploy:$IOTDB_WEBSITE_BUILD@github.com/".insteadOf "https://github.com/"
git config --global user.name github-actions
git config --global user.email github-actions@github.com
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
\ No newline at end of file