Skip to content

Add QR code to login with authtoken-link (#682) #513

Add QR code to login with authtoken-link (#682)

Add QR code to login with authtoken-link (#682) #513

name: Deploy Storybook
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
on:
push:
branches: [ main ]
jobs:
build-and-deploy-storybook:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install Dependencies including optional ones
run: npm run dev-install
- name: Fetch GraphQL Types
run: npm run graphql-fetch-schema && npm run graphql-build
- name: Build Storybook
run: npm run dev-storybook-build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './storybook-static'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1