Skip to content

Manual GH Pages Deployment #4

Manual GH Pages Deployment

Manual GH Pages Deployment #4

name: Manual GH Pages Deployment
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies and build
run: |
yarn
yarn build-storybook --quiet
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static