You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2022/12/14 06:56:33 UTC

[pulsar-site] branch main updated: Trim unrelated workflow steps

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

tison 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 dc81f1a1af3 Trim unrelated workflow steps
dc81f1a1af3 is described below

commit dc81f1a1af3d5187767455fcf0d06199e3f5e44d
Author: tison <wa...@gmail.com>
AuthorDate: Wed Dec 14 14:56:22 2022 +0800

    Trim unrelated workflow steps
    
    Signed-off-by: tison <wa...@gmail.com>
---
 .github/workflows/ci-build-site.yml | 37 -------------------------------------
 1 file changed, 37 deletions(-)

diff --git a/.github/workflows/ci-build-site.yml b/.github/workflows/ci-build-site.yml
index a9795c99469..89db910b73e 100644
--- a/.github/workflows/ci-build-site.yml
+++ b/.github/workflows/ci-build-site.yml
@@ -49,46 +49,9 @@ jobs:
             echo "$file was modified"
           done
 
-      - name: Tune Runner VM
-        uses: ./.github/actions/tune-runner-vm
-
-      - name: Cache local Maven repository
-        uses: actions/cache@v3
-        with:
-          path: |
-            ~/.m2/repository/*/*/*
-            !~/.m2/repository/org/apache/pulsar
-          key: ${{ runner.os }}-m2-dependencies-website-${{ hashFiles('**/pom.xml') }}
-          restore-keys: |
-            ${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml') }}
-            ${{ runner.os }}-m2-dependencies-core-modules-${{ hashFiles('**/pom.xml') }}
-            ${{ runner.os }}-m2-dependencies-core-modules-
-
-      - name: Set up JDK 17
-        uses: actions/setup-java@v3
-        with:
-          distribution: 'temurin'
-          java-version: 17
-
-      - name: Clean disk
-        run: |
-          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
-          sudo apt clean
-          docker rmi $(docker images -q) -f
-          df -h
-
-      - name: Clone Pulsar
-        run: |
-          cd ../
-          git clone -b master --depth 1 https://github.com/apache/pulsar.git
-          rm -rf pulsar/.git
-          rm -rf pulsar/site2
-          mv pulsar/* pulsar-site/
-
       - name: Build and Publish website
         env:
           GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
-          CROWDIN_PERSONAL_TOKEN: ${{ secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
         run: |
           echo "Building Website"
           site2/tools/docker-build-site.sh next ${{ steps.changed-files.outputs.all_changed_and_modified_files }}