Skip to content

Commit

Permalink
custom domain/gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Nov 4, 2020
1 parent 48561cc commit ace9f1c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -26,3 +26,15 @@ jobs:

- name: Publish Chromatic
run: yarn chromatic

- name: Copy Domain
run: yarn copy

- name: Publish Storybook to GH Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: storybook-static
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
reaflow.dev
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -9,6 +9,7 @@
"lint": "eslint --ext js,ts,tsx",
"lint:fix": "eslint --ext js,ts,tsx --fix src",
"start": "start-storybook -p 9009 -s public",
"copy": "cp CNAME storybook-static/",
"build-storybook": "build-storybook -s public",
"chromatic": "npx chromatic --project-token ugo6c655mvm --auto-accept-changes"
},
Expand Down

0 comments on commit ace9f1c

Please sign in to comment.