Skip to content

Commit 0e78a2b

Browse files
committed
have ci deploy
1 parent 80f5feb commit 0e78a2b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ jobs:
2424
key: v2-dependencies-{{ checksum "yarn.lock" }}
2525

2626
- run: yarn semantic-release || true
27+
28+
- run:
29+
name: Maybe deploy to gh-pages
30+
command: |
31+
if [[ $CIRCLE_BRANCH == master ]]; then
32+
yarn docs
33+
fi

example/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default () => <h1>Hello world?</h1>
1+
export default () => <h1>Hello world! :D</h1>

0 commit comments

Comments
 (0)