Merge pull request #439 from bethinkpl/LMS-2126-banner-container-quer… #442
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: Build and Deploy Dist | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Insert auth font awesome auth token | |
run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.9.0' | |
cache: 'yarn' | |
- name: Install and Build 🔧 | |
run: | # Install npm packages and build the Storybook files | |
yarn install --pure-lockfile | |
yarn build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: master # The branch the action should deploy to. | |
folder: dist # The folder that the build script generates files. | |
clean: false # Automatically remove deleted files from the deploy branch | |
target-folder: dist # The folder that we serve our design-system files from |