mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
feat: deploy docs to github pages on github actions
This commit is contained in:
18
.github/workflows/deploy-mkdocs.yml
vendored
Normal file
18
.github/workflows/deploy-mkdocs.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Deploy docs to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy docs to GitHub Pages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: pip install mkdocs-material # including mkdocs
|
||||
- run: mkdocs gh-deploy
|
||||
Reference in New Issue
Block a user