Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- main
- release-*

concurrency:
group: pr-ci-${{ github.event.pull_request.number }}
cancel-in-progress: true
Comment thread
coderabbitai[bot] marked this conversation as resolved.

env:
PUBLIC_URL: http://localhost:3000
PUBLIC_OWNER_ID: "1261634733037719593"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Story Book
name: Preview

on:
pull_request:
types: [opened, synchronize, reopened, closed]
pull_request_target:
types: [opened, synchronize, reopened, closed]
Comment thread
coderabbitai[bot] marked this conversation as resolved.

concurrency:
group: pr-${{ github.event.pull_request.number }}
group: pr-preview-${{ github.event.pull_request.number }}
cancel-in-progress: true

env:
Expand All @@ -30,8 +31,8 @@ env:
PAGE_DIR: pr-preview-${{ github.event.pull_request.number }}

jobs:
build:
name: build
build-storybook:
name: build Storybook
Comment thread
coderabbitai[bot] marked this conversation as resolved.
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.repository.fork) || (github.event_name == 'pull_request' && !github.event.repository.fork)

Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
preview:
name: Preview
runs-on: ubuntu-latest
needs: [build]
needs: [build-storybook]
if: github.event.action != 'closed' && github.event_name != 'push'
permissions:
contents: write
Expand Down
Loading