Skip to content

Commit 64e3c09

Browse files
author
Dave Ferris
authored
Merge pull request #56 from user-interviews/feature/UIDS-15-deploy-to-gh-pages
UIDS-15 deploy to github pages automatically after PRs are merged
2 parents b4019a2 + 481483a commit 64e3c09

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)