Merge pull request #5962 from leather-io/feat/bns-v2 #367
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: Publish Storybook | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: 'storybook-deploy' | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/provision | |
- run: pnpm build-storybook | |
- name: Deploy storybook.leather.io | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.LEATHER_BOT }} | |
external_repository: leather-io/storybook | |
publish_branch: main | |
publish_dir: ./storybook-static | |
cname: storybook.leather.io |