v1.29.4 #63
Workflow file for this run
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 Docs (Stable) | |
on: | |
release: | |
types: | |
- 'released' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | |
permissions: | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Install node_modules | |
run: yarn install --immutable | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
- name: Build Storybook | |
run: | | |
yarn build:storybook | |
yarn build:storybook-sitemap | |
env: | |
NODE_OPTIONS: '--max-old-space-size=4096' | |
- name: Deploy Docs | |
uses: JamesIves/github-pages-deploy-action@v4.6.3 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: .out # The folder the action should deploy. | |
clean: true | |
clean-exclude: 'main' |