Skip to content

Commit cad64e4

Browse files
committed
fix pages ci
1 parent 65402c1 commit cad64e4

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
submodules: recursive
3131
- uses: peaceiris/actions-hugo@v2
3232
with:
33-
hugo-version: "latest"
33+
hugo-version: "0.140.2"
3434
extended: true
3535
- name: Setup Pages
3636
id: pages

README.org

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig langu
2525
#+end_quote
2626

2727
本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建。
28-
预览之前请确保已安装必要的 =postcss= 依赖
29-
#+begin_src bash
30-
# install depends
31-
npm i -D postcss postcss-cli autoprefixer
32-
#+end_src
3328

3429
#+begin_src bash
3530
# For macOS
@@ -47,3 +42,11 @@ sudo snap install hugo
4742
# run server
4843
hugo server
4944
#+end_src
45+
46+
如果启动 server 时报错,可以安装以下依赖:
47+
#+begin_src bash
48+
# install depends
49+
npm i -D postcss postcss-cli autoprefixer
50+
#+end_src
51+
52+
参考:https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#install-postcss

0 commit comments

Comments
 (0)