chore: 初始化 Hugo 博客项目

Hextra 主题,8 篇文章,支持全文搜索/暗色模式
This commit is contained in:
claw
2026-05-13 12:48:53 +08:00
committed by fukunee
commit 07851043b1
624 changed files with 48007 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Build
on: push
env:
HUGO_VERSION: 0.152.2
jobs:
build:
runs-on: ubuntu-22.04
steps:
# CHEKCOUT REPOSITORY
- name: Git checkout
uses: actions/checkout@v6
# SETUP HUGO
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '${{ env.HUGO_VERSION }}'
extended: true
# DEPENDENCIES
- name: Install npm dependencies
run: npm ci
# BUILD
- name: Build Site
env:
TZ: 'Europe/Warsaw'
run: hugo --minify