docs: update README.md #8
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: Build and Deploy | |
on: [push] | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
env: | |
HISTOIRE_BASE: /vue-breadcrumbs-nav/ | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install and Build 🔧 | |
run: | | |
yarn | |
yarn story:build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder that the build-storybook script generates files. | |
clean: true # Automatically remove deleted files from the deploy branch | |
target_folder: docs # The folder that we serve our Storybook files from |