diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a76c3ec2..65fac136 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ on: required: true ga_id: required: true + clarity_id: + required: true jobs: package: name: build package @@ -37,6 +39,6 @@ jobs: with: node-version: '16' - name: Package - run: bash ./source/nebula-graph-studio/scripts/pack.sh ${{ secrets.ga_id }} ${{ matrix.os }} + run: bash ./source/nebula-graph-studio/scripts/pack.sh ${{ secrets.ga_id }} ${{ secrets.clarity_id }} ${{ matrix.os }} - name: Upload to OSS run: bash ./source/nebula-graph-studio/scripts/upload.sh ${{ secrets.oss_endpoint }} ${{ secrets.oss_id }} ${{ secrets.oss_secret }} ${{ secrets.oss_url }} ${{ matrix.os }} \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1ce91a4c..6bfefe23 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,6 +12,7 @@ jobs: oss_secret: ${{ secrets.OSS_SECRET }} oss_url: ${{ secrets.OSS_TEST_URL }} ga_id: ${{ secrets.GA_ID }} + clarity_id: ${{ secrets.CLARITY_ID }} docker-image: name: docker image build runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 718211fc..32847954 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ jobs: oss_secret: ${{ secrets.OSS_SECRET }} oss_url: ${{ secrets.OSS_URL }} ga_id: ${{ secrets.GA_ID }} + clarity_id: ${{ secrets.CLARITY_ID }} docker-image: name: docker image build runs-on: ubuntu-latest diff --git a/scripts/pack.sh b/scripts/pack.sh index 9e1b317a..db3b8e42 100644 --- a/scripts/pack.sh +++ b/scripts/pack.sh @@ -7,9 +7,9 @@ DIR=`pwd` STUDIO=$DIR/source/nebula-graph-studio cd $STUDIO -bash ./scripts/build.sh $1 +bash ./scripts/build.sh $1 $2 cd $DIR -case $2 in +case $3 in centos7) bash $STUDIO/scripts/pack_CentOS.sh ;; diff --git a/scripts/setEventTracking.sh b/scripts/setEventTracking.sh index 161e10f8..56fe3c1f 100644 --- a/scripts/setEventTracking.sh +++ b/scripts/setEventTracking.sh @@ -1 +1 @@ -sed -i "s~~\n\n~g" ./app/index.html \ No newline at end of file +sed -i "s~~\n\n~g" ./app/index.html \ No newline at end of file