Update pull_request_template.md #24
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: storybook | |
on: | |
push: | |
branches: ['develop'] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
steps: | |
- name: Use repository source | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
working-directory: ./ | |
- name: Build storybook | |
run: | | |
npm run build-storybook | |
working-directory: ./ | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./storybook-static |