Skip to content

Commit

Permalink
重构文档结构
Browse files Browse the repository at this point in the history
  • Loading branch information
panhy committed Dec 15, 2023
1 parent 4930399 commit f335f6b
Show file tree
Hide file tree
Showing 76 changed files with 203 additions and 1,545 deletions.
48 changes: 16 additions & 32 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,26 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

name: ci
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
branches:
- master
- main
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

contents: write
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- uses: actions/setup-python@v4
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
216 changes: 0 additions & 216 deletions assets/css/fonts.css

This file was deleted.

Loading

0 comments on commit f335f6b

Please sign in to comment.