added git workflow for docs (#1337)

This commit is contained in:
parthp2107 2021-11-23 17:24:42 +05:30 committed by GitHub
parent 3f5510f340
commit f5ec367335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
.github/workflows/deploy-docs.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Deploy Docs
on:
push:
branches:
- 0.6.0
paths:
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.6
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: main
FOLDER: docs
target-folder: docs