🚀 Chore(ci/cd): improve the joint construction and deployment of Demo and Test content

- Demo: https://demo.fixit.lruihao.cn/
- Test: https://demo.fixit.lruihao.cn/test/
This commit is contained in:
Cell
2025-08-19 17:37:09 +08:00
parent cc2ef7bf70
commit 93acf8ea79
12 changed files with 744 additions and 59 deletions
-21
View File
@@ -1,21 +0,0 @@
name: FixIt Test Build
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
Actions-Hugo-Check:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: recursive # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: ${{ vars.HUGO_VERSION || 'latest' }}
extended: true
- name: Build Hugo static files
run: hugo --source=test --themesDir ../.. --theme $PWD --gc --minify --logLevel info