Skip to content

Commit 7d42ec3

Browse files
committed
ci(docs): add release workflow
1 parent 2a5920c commit 7d42ec3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release-docs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '14'
19+
20+
- run: yarn install
21+
- run: yarn build
22+
23+
- name: Deploy
24+
uses: JamesIves/github-pages-deploy-action@4.1.7
25+
with:
26+
branch: gh-pages
27+
folder: docs/src/.vuepress/dist

0 commit comments

Comments
 (0)