Publish Documentation using ghactions

This commit is contained in:
KeepSOBP
2021-09-11 12:24:56 +09:00
committed by GitHub
parent f5c5271d7b
commit 7ec8e15a2b
+28
View File
@@ -0,0 +1,28 @@
name: Publish Documentation
on:
push:
branches: [ master ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 15
- name: Install dependencies
run: yarn install
- name: Build
run: yarn run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: docs
folder: docs