powered by saber2pr.github.io
name: Wiki Builder
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # fetch full history for docs update time show.
- uses: Saber2pr/wiki-builder@v0.0.90- live demo: Saber2pr's Blog
- live demo source: saber2pr.github.io
In the git repo, just write markdown files, and support tree directory level generation of side menu bars.
When CI is built, it will be compiled into HTML static files, which is SEO friendly.
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- uses: Saber2pr/wiki-builder@v0.0.90
with:
cname: saber2pr.top # optional, your website cname
gaId: G-XXX # optional, your google analytics gid
gaAdId: ca-pub-XXX # optional, your google adsense id
gaAdsTxt: google.com, pub-xxx, DIRECT, xxx # optional, your google adsense txt
gaAdsSlotHtml: <ins class="adsbygoogle"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script> # optional, your google adsense html
iconUrl: //saber2pr.top/MyWeb/resource/image/saber2pr-top.ico # optional, your website icon
i18nConfig: '[{"name":"English","key":"/"},{"name":"Chinese","key":"/zh"}]' # optional, your website i18n support
title: MyBlog
keywords: blog,js,html,css
description: this is my blog