Skip to content

Commit

Permalink
Create ezqfnu.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
W1ndys authored Apr 3, 2024
1 parent 72a882f commit 4c28649
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ezqfnu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Deploy MkDocs

on:
push:
branches:
- main # 根据需要更改分支

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build MkDocs
run: |
mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

0 comments on commit 4c28649

Please sign in to comment.