Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 761b4df

Browse files
committed
add update docs action
1 parent 4ebe8d1 commit 761b4df

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/docs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Update Docs'
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
docs:
10+
name: Update Docs
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
- name: Install Packages
16+
run: npm install
17+
- name: Build Docs
18+
run: npm run docs
19+
- name: Deploy 🚢
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./docs/dist

0 commit comments

Comments
 (0)