Merge pull request #1567 from GSA/sam-style-version-change #209
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 Master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
Build-Storybook: | |
uses: ./.github/workflows/build.yml | |
Deploy-Storybook: | |
runs-on: ubuntu-latest | |
if: ${{ success() }} | |
needs: Build-Storybook | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Download Storybook Assets | |
uses: actions/download-artifact@v4 | |
with: | |
name: storybook-assets | |
path: ./storybook-static | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: storybook-static | |
clean-exclude: pr-preview/ | |
force: false |