ci: deploy documentation

This commit is contained in:
Mikhail Zolotukhin 2021-08-28 14:16:08 +03:00
parent 0f8976c55e
commit 0bf4536075

24
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,24 @@
---
name: Documentation
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Install and Build 🔧
run: |
npm install
npm run docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: build/docs