-
Notifications
You must be signed in to change notification settings - Fork 623
46 lines (40 loc) · 1.27 KB
/
deploy-website.yml
File metadata and controls
46 lines (40 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Deploy website
on:
release:
types: [published]
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- name: install
uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- name: test
uses: borales/actions-yarn@v2.0.0
with:
cmd: jest
- name: website:build
uses: borales/actions-yarn@v2.0.0
with:
cmd: website:build
- name: website:copy-assets
uses: borales/actions-yarn@v2.0.0
with:
cmd: website:copy-assets
- name: website:storybook
uses: borales/actions-yarn@v2.0.0
with:
cmd: website:storybook
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: temp/website