Skip to content

Commit e87e514

Browse files
authored
chore: Add workflow for website release
1 parent ad13e7d commit e87e514

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/deploy- website.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy website
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 14
18+
19+
- name: Install dependencies
20+
run: yarn install --frozen-lockfile --non-interactive
21+
22+
23+
- name: Build
24+
run: yarn website
25+
26+
- name: Deploy
27+
uses: JamesIves/[email protected]
28+
with:
29+
branch: gh-pages
30+
folder: examples/dist

0 commit comments

Comments
 (0)