Skip to content

Commit 481483a

Browse files
author
Dave Ferris
committed
UIDS-15 deploy to github pages automatically after PRs are merged
1 parent b4019a2 commit 481483a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy to github pages
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
gh-pages-deploy:
8+
name: Deploying to gh-pages
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout branch
12+
uses: actions/checkout@v2
13+
14+
- name: Install dependencies
15+
run: yarn install
16+
17+
- name: Run deploy script
18+
run: yarn deploy-storybook -- --ci
19+
env:
20+
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)