Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Nov 14, 2024
1 parent 5f72e06 commit 45b51b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/site/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ theme:
name: Switch to system preference
language: en
plugins:
- search
pipeline:
- stemmer
- stopWordFilter
- trimmer
# - search
- social
- rss:
match_path: ".*"
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on:
branches:
- master
- main
permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write # Add permission for GitHub Pages
id-token: write # Add permission for GitHub Pages deployment

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -45,3 +49,15 @@ jobs:
# PUBLISH_AS_DRAFT: 'true' # Or 'false' if you want to publish directly
# run: |
# python .github/manage/publish.py

- name: Create docs directory
run: |
mkdir -p docs
cp -r .github docs/
cp README.md docs/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4

0 comments on commit 45b51b8

Please sign in to comment.