Skip to content

Commit b350a12

Browse files
committed
新增日志(取消链接检查)
1 parent 12f0ccc commit b350a12

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,16 @@ jobs:
5050
env:
5151
JEKYLL_ENV: "production"
5252

53-
# - name: Test site
54-
# run: |
55-
# bundle exec htmlproofer _site \
56-
# \-\-disable-external \
57-
# \-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
53+
# 注释掉 Test site 步骤,跳过 htmlproofer 检查
54+
# - name: Test site
55+
# run: |
56+
# bundle exec htmlproofer _site \
57+
# \-\-disable-external \
58+
# \-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
59+
60+
# 可选:添加一个简单的消息步骤
61+
- name: Site test skipped
62+
run: echo "HTMLProofer check skipped for now"
5863

5964
- name: Upload site artifact
6065
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)