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

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new f685fae  update
f685fae is described below

commit f685fae6651da343fc011d93257e72f2c2c75c95
Author: LiLi <[email protected]>
AuthorDate: Mon Jan 24 13:59:39 2022 +0800

    update
    
    Signed-off-by: LiLi <[email protected]>
---
 .../workflows/ci-pulsar-website-next-build.yaml    | 43 ++++++++++++----------
 1 file changed, 24 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml 
b/.github/workflows/ci-pulsar-website-next-build.yaml
index ada0001..8c4200d 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -74,29 +74,34 @@ jobs:
         run: |
           cd ../
           git clone https://github.com/apache/pulsar.git
+          rm -rf pulsar/.git
           rm -rf pulsar/site2
           mv pulsar/* pulsar-site/
           ls -l pulsar-site
+          ls -l pulsar-site/site2
+          
+      - name: Test git info
+        run: git rev-parse --show-toplevel
 
-      - name: Run install by skip tests
-        run: mvn -q -B -ntp install -Pcore-modules,-main -DskipTests 
-DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
+      # - name: Run install by skip tests
+      #   run: mvn -q -B -ntp install -Pcore-modules,-main -DskipTests 
-DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
           
-      - name: Generate swagger json file
-        run: mvn -B -ntp -pl pulsar-broker install -DskipTests -Pswagger
+      # - name: Generate swagger json file
+      #   run: mvn -B -ntp -pl pulsar-broker install -DskipTests -Pswagger
 
-      - name: Publish
-        env:
-          GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
-          CROWDIN_DOCUSAURUS_API_KEY: ${{ 
secrets.PULSAR_CROWDIN_DOCUSAURUS_API_KEY }}
-        run: |
-          export CROWDIN_DOCUSAURUS_PROJECT_ID=apache-pulsar
-          echo "Copying swagger json file ..."
-          mkdir -p site2/website-next/static/swagger/master/
-          cp pulsar-broker/target/docs/swagger*.json 
site2/website-next/static/swagger/master
-          echo "Copied swagger json file."
-          echo "Building Website"
-          # Build the new website
-          site2/tools/docker-build-site.sh next
+      # - name: Publish
+      #   env:
+      #     GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
+      #     CROWDIN_DOCUSAURUS_API_KEY: ${{ 
secrets.PULSAR_CROWDIN_DOCUSAURUS_API_KEY }}
+      #   run: |
+      #     export CROWDIN_DOCUSAURUS_PROJECT_ID=apache-pulsar
+      #     echo "Copying swagger json file ..."
+      #     mkdir -p site2/website-next/static/swagger/master/
+      #     cp pulsar-broker/target/docs/swagger*.json 
site2/website-next/static/swagger/master
+      #     echo "Copied swagger json file."
+      #     echo "Building Website"
+      #     # Build the new website
+      #     site2/tools/docker-build-site.sh next
 
-          # # Script was initially made for travis
-          # bash -e site2/tools/publish-website.sh next
+      #     # # Script was initially made for travis
+      #     # bash -e site2/tools/publish-website.sh next

Reply via email to