You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/01/28 03:03:29 UTC

[dubbo-website] branch master updated: Update html test (#1966)

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new aad1d970e1 Update html test (#1966)
aad1d970e1 is described below

commit aad1d970e1a7fa530942c9ed3b8916ce562c9d94
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sat Jan 28 11:03:23 2023 +0800

    Update html test (#1966)
    
    * Update html test
    
    * Add config
---
 .github/workflows/link_check.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml
index 70ac2f2b61..cceb0a227d 100644
--- a/.github/workflows/link_check.yml
+++ b/.github/workflows/link_check.yml
@@ -31,8 +31,6 @@ jobs:
         env:
           HUGO_ENV: production
         run: hugo --minify --baseURL /
-      - name: Setup Html Test
-        run: curl https://htmltest.wjdp.uk | bash
       - name: Cache Html Test Ref
         uses: ./.github/actions/always-upload-cache
         with:
@@ -41,9 +39,9 @@ jobs:
           restore-keys: |
             ${{ runner.os }}-htmltest-ref-
       - name: Lint Self
-        run: ./bin/htmltest -s
+        run: docker run -v $(pwd):/test --rm wjdp/htmltest -s -c /test/.htmltest.yml
       - name: Lint External
-        run: ./bin/htmltest
+        run: docker run -v $(pwd):/test --rm wjdp/htmltest -c /test/.htmltest.yml
       - name: Print lint failed list if failure
         if: failure()
         run: cat tmp/.htmltest/htmltest.log | grep -v "hitting ---"