adding docs to the github pages (#3084)

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
This commit is contained in:
Shubham Chaudhary 2021-08-04 14:01:05 +05:30 committed by GitHub
parent 092a05d986
commit 23294ff237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/gh-pages.yaml vendored Normal file
View File

@ -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