Version 3.4.1 #6
Workflow file for this run
This file contains hidden or 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
| # Disabling deploying the HTML Storybook until Explorer 1 v3 is complete | |
| # This workflow will do a clean install of Node dependencies, cache/restore them, | |
| # build Storybook as a static web application, and deploy it to the gh-pages branch. | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: Build and Deploy to GH Pages | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node ⬢ | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - name: Install dependencies 🧱 | |
| run: pnpm i | |
| - name: Build static Storybook 🛠 | |
| run: make vue-storybook-build | |
| # https://github.com/JamesIves/github-pages-deploy-action/issues/1475#issuecomment-1824079512 | |
| - name: Add nojekyll file to read underscore files 📋 | |
| run: cd apps/vue-storybook/storybook_compiled && touch .nojekyll | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: apps/vue-storybook/storybook_compiled | |
| branch: gh-pages |