hugo构建前查看目录结构
Some checks failed
Build and Deploy Qingshuige / build-deploy (push) Failing after 1s

This commit is contained in:
2026-02-03 03:14:24 +08:00
parent 7212026504
commit b67ee60faf

View File

@@ -15,10 +15,6 @@ jobs:
git clone https://gitea.qingshuige.ink/qingshuige-authors/qingshuige-hugo.git repo git clone https://gitea.qingshuige.ink/qingshuige-authors/qingshuige-hugo.git repo
chmod -R 777 . chmod -R 777 .
cd repo cd repo
echo "Listing repo directory:"
ls
echo "Listing themes directory:"
ls themes/
git checkout main git checkout main
- name: Test Hugo - name: Test Hugo
@@ -27,6 +23,7 @@ jobs:
- name: Build Hugo site - name: Build Hugo site
run: | run: |
ls -R
hugo --minify hugo --minify
- name: Deploy to local directory - name: Deploy to local directory