Deploy Storybook [on-nighlty-schedule] #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 Storybook [on-nighlty-schedule] | |
on: | |
schedule: | |
- cron: "00 17 * * *" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install and Build | |
run: | | |
export NODE_OPTIONS="--max_old_space_size=4096" | |
yarn install | |
yarn ci:deploybuild | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: packages/playground/dist # The folder the action should deploy. | |
target-folder: storybook | |
clean: true |