From 4785f34968165b0587b5557083901e67b96a349d Mon Sep 17 00:00:00 2001 From: JunYan <2562178620@qq.com> Date: Sun, 26 Jul 2026 12:53:57 +0800 Subject: [PATCH] Fix deployed site link check --- .github/workflows/broken-links-site.yml | 13 +++++++++---- _posts/2023-05-24-post-chatgpt.md | 3 +-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/broken-links-site.yml b/.github/workflows/broken-links-site.yml index a62684d2..43ddd187 100644 --- a/.github/workflows/broken-links-site.yml +++ b/.github/workflows/broken-links-site.yml @@ -13,7 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v4 + uses: actions/checkout@v6 + - name: Setup Node.js ⚙️ + uses: actions/setup-node@v6 + with: + node-version: "24" + cache: "npm" + - name: Install JavaScript dependencies 📦 + run: npm ci - name: Setup Ruby uses: ruby/setup-ruby@v1 with: @@ -36,9 +43,7 @@ jobs: export JEKYLL_ENV=production bundle exec jekyll build - name: Purge unused CSS 🧹 - run: | - npm install -g purgecss - purgecss -c purgecss.config.js + run: npx purgecss -c purgecss.config.js - name: Link Checker 🔗 uses: lycheeverse/lychee-action@v2.0.2 with: diff --git a/_posts/2023-05-24-post-chatgpt.md b/_posts/2023-05-24-post-chatgpt.md index fc97aa5f..c357cc4e 100644 --- a/_posts/2023-05-24-post-chatgpt.md +++ b/_posts/2023-05-24-post-chatgpt.md @@ -132,7 +132,7 @@ tabs: true 2023 实务学堂开放日结束后拍摄 -最后,如果您也使用编程开发出有趣好玩或解决实际问题的项目等,并且愿意与我分享,我将非常欢迎。请将项目相关信息发送至我的邮箱,我期待与您交流并探讨更多创意和技术见解。谢谢!我的邮箱是 chenswonderland123@gmail.com。 +最后,如果您也使用编程开发出有趣好玩或解决实际问题的项目等,并且愿意与我分享,我将非常欢迎。请将项目相关信息发送至我的邮箱,我期待与您交流并探讨更多创意和技术见解。谢谢!我的邮箱是 [chenswonderland123@gmail.com](mailto:chenswonderland123@gmail.com)。
@@ -151,4 +151,3 @@ tabs: true -