Skip to content

Commit

Permalink
U | Update the mkdocs, add more insteresting thing
Browse files Browse the repository at this point in the history
C | Change the workflow
  • Loading branch information
FTS427 committed Dec 3, 2023
1 parent 3b7faac commit 31e0a65
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: build
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.x
Expand Down
27 changes: 26 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
site_name: Huang FTS427's Blog
repo_url: https://github.com/FTS427/FTS427.github.io
repo_name: FTS427/FTS427.github.io
edit_uri: edit/main/docs/
theme:
name: material
locale: zh
language: zh
features:
- content.action.edit
icon:
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
palette:
# Light mode
- scheme: default
primary: blue
accent: light blue
toggle:
icon: material/brightness-7
name: Dark mode
# Dark mode
- scheme: slate
primary: blue
accent: light blue
toggle:
icon: material/brightness-4
name: Light mode

markdown_extensions:
- admonition
- codehilite:
Expand Down

0 comments on commit 31e0a65

Please sign in to comment.