mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 04:29:43 +08:00
change: remove mkdocs, move to httprunner/httprunner.github.io
This commit is contained in:
25
.github/workflows/deploy-mkdocs.yml
vendored
25
.github/workflows/deploy-mkdocs.yml
vendored
@@ -1,25 +0,0 @@
|
||||
name: Deploy docs to GitHub Pages
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy docs to GitHub Pages
|
||||
if: ${{ github.event.pull_request.merged }} # true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup python3 env
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Install mkdocs and material design
|
||||
run: pip install mkdocs-material # including mkdocs
|
||||
- name: Update hrp cli docs
|
||||
run: go test docs/cmd/doc_test.go # update hrp cli docs
|
||||
- name: Deploy docs to github pages
|
||||
run: mkdocs gh-deploy --force
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -28,4 +28,4 @@ jobs:
|
||||
project_path: "./hrp" # go build ./hrp/main.go
|
||||
binary_name: "hrp"
|
||||
ldflags: "-s -w"
|
||||
extra_files: LICENSE docs/README.md docs/CHANGELOG.md
|
||||
extra_files: LICENSE README.md docs/CHANGELOG.md
|
||||
|
||||
Reference in New Issue
Block a user