[BUGFIX] Handle flag icon for CE set with language 'All' (#719) #203
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: Publish Storybook to Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.17 | |
- name: Configure PHP 7.4 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Cache dependencies installed with composer | |
uses: actions/cache@v1 | |
with: | |
path: ~/.composer/cache | |
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }} | |
restore-keys: | | |
php${{ matrix.php-version }}-composer- | |
- name: Install Composer dependencies | |
run: composer install --no-progress --ignore-platform-reqs | |
- name: Install and Build 🔧 | |
run: | | |
npm install | |
npm run resources:storybook | |
npm run build:storybook | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: storybook-static |