This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Skip pronouns for lostpixel #1291
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 Storybook | |
on: | |
push: | |
branches-ignore: | |
- 'docs' | |
jobs: | |
storybook: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7.26.3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Read branch name | |
id: vars | |
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/} | |
- uses: actions/cache@v3 | |
name: Setup pnpm cache | |
with: | |
path: | | |
.pnpm-store | |
pnpm | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm build-storybook | |
- name: Deploy Storybook | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: docs | |
publish_dir: ./storybook-static | |
destination_dir: ./sb/${{ steps.vars.outputs.short_ref }} |