adding docs to the github pages (#3084)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
This commit is contained in:
parent
092a05d986
commit
23294ff237
|
|
@ -0,0 +1,26 @@
|
|||
name: Deploy Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: build docs
|
||||
run: |
|
||||
pip install mkdocs mkdocs_material
|
||||
mkdocs build
|
||||
- name: deploy docs
|
||||
uses: peaceiris/actions-gh-pages@v2.5.0
|
||||
env:
|
||||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||
PUBLISH_BRANCH: gh-pages
|
||||
PUBLISH_DIR: ./site
|
||||
Loading…
Reference in New Issue