chore: add docs deploy script (#5682)

Co-authored-by: Maksim Karatkevich <m.karatkevich@akveo.com>
This commit is contained in:
maksim-karatkevich 2020-05-15 16:32:37 +03:00 committed by GitHub
parent a48cb2b0bf
commit ef650ae1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 4 deletions

20
.github/workflows/docsDeploy.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Deploy docs
on:
push:
branches:
- 'demo'
paths:
- 'docs/**'
repository_dispatch:
types: deploy-docs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 12.x
uses: actions/setup-node@v1
- run: npm install
- run: npm run docs:gh-pages