adding records export functionality. #31
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 GH Pages | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Install and Build | |
run: | # Install npm packages and build the Storybook files | |
yarn install | |
yarn build -- -c prod --output-path=dist | |
cp dist/index.html dist/404.html | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: docs # The branch the action should deploy to. | |
FOLDER: dist # The folder that the script generates files. | |
CLEAN: true # Automatically remove deleted files from the deploy branch | |
TARGET_FOLDER: . # The folder that we serve our files from |