Skip to content

在Nuclei Studio下用命令行编译工程 补充内容 (#40) #59

在Nuclei Studio下用命令行编译工程 补充内容 (#40)

在Nuclei Studio下用命令行编译工程 补充内容 (#40) #59

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches:
- main
pull_request:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install mkdocs mkdocs-material pymdown-extensions
- name: Prepare docs
run: |
bash .github/prepare_doc.sh
- name: Build MkDocs
run: mkdocs build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: ./site