Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Implement Hover Effect to Clarify Uneditable Links #4395

Implement Hover Effect to Clarify Uneditable Links

Implement Hover Effect to Clarify Uneditable Links #4395

Workflow file for this run

name: Storybook
on:
workflow_dispatch:
push:
branches:
- main
paths:
- pages/**
- components/**
- stories/**
- .storybook/**
- package.json
pull_request:
paths:
- pages/**
- components/**
- stories/**
- .storybook/**
- package.json
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
if: github.repository == 'EddieHubCommunity/BioDrop'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
- name: Setup Pages
uses: actions/configure-pages@v4
- name: install dependencies
run: npm ci
- name: run build
run: npm run build-storybook
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
with:
path: "./storybook-static"
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4