DAO-516: Implement View Proposal page (#44) #48
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 Storybook site to Pages | |
on: | |
push: | |
branches: [main, develop] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "storybook" | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm i | |
- name: Build storybook | |
run: npm run build-storybook | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload storybook build output | |
path: './storybook-static' | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |