Skip to content

Commit

Permalink
feat: deploy docs to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio committed Aug 25, 2020
1 parent 18ba523 commit cfa0809
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,12 @@ jobs:
run: |
git config --global user.email "sergiomorenoalbert@gmail.com"
git config --global user.name "CI"
npm run release
npm run release && npm run publish-storybook
- name: Release Docs
if: ${{github.event.inputs.distTag == 'latest' || github.event.inputs.distTag == 'next'}}
uses: JamesIves/github-pages-deploy-action@3.5.9
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: example/storybook-static
171 changes: 171 additions & 0 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"prop-types": "15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"themeprovider-storybook": "^1.5.1",
"typescript": "^3.9.2",
"webpack": "^4.43.0"
}
Expand Down

0 comments on commit cfa0809

Please sign in to comment.