Skip to content

Commit cbcc3d9

Browse files
committed
feat: add GitHub Actions workflow for deploying documentation to GitHub Pages
1 parent e5fa8e5 commit cbcc3d9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on: push
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: 10
11+
- run: npm install
12+
- run: npm run-script build:docs
13+
- name: Deploy Docs
14+
uses: JamesIves/github-pages-deploy-action@4.1.4
15+
with:
16+
branch: gh-pages
17+
folder: docs/.vitepress/dist
18+
clean-exclude: pr-preview
19+
force: false

0 commit comments

Comments
 (0)