fix: update deploy docs for storybook 7.x #377
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs to GH Pages | |
on: | |
push: | |
branches: | |
- aholloway/x-fix-gh-pages-deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build Dist | |
run: yarn build | |
- name: Build and deploy Storybook | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./ |