Skip to content

typo: huorong

typo: huorong #147

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -r requirements.txt
- name: Build mkdocs
run: mkdocs build
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
name: site
path: site/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: site